Boost logo

Boost Users :

From: Sohail Somani (s.somani_at_[hidden])
Date: 2006-09-11 16:18:22


> -----Original Message-----
> From: boost-users-bounces_at_[hidden]
> [mailto:boost-users-bounces_at_[hidden]] On Behalf Of
> Qinfeng(Javen) Shi
> Sent: Monday, September 11, 2006 3:46 AM
> To: boost-users_at_[hidden]
> Subject: Re: [Boost-users] 3 times slower than c++
>
> Dear all,
>
> We are writing a python toolbox and wrapping it from c++ is
> much faster than pure python.
> But my wrapped c++ code(called in python) is 3 times(not plus
> a constant time) slower than the orignial c++ one.
>
> I think the difference should be a constant not a factor.
> Because all the computation has been taken in *.so, the extra
> time cost is the time python load it at the beginning.
> Is that right?
>
> Any opinion or suggestion about why or how to speed it up?

Are you wrapping with boost.python?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net