can multi-core improve single funciton?

Paul Rubin http
Wed Feb 11 00:51:00 EST 2009


oyster <lepto.python at gmail.com> writes:
> Hi, guys, my fib(xx) is just an example to show "what is a single
> function" and "what is the effect I expect to see when enable
> multi-core".
> 
> My real purpose is to know "whether multi-core can help to improve
> the speed of a common function". But I know definitely that the
> answer is NO.

Well, it depends on the implementation.  Python isn't at the moment
designed for using multicores but as it evolves that may change.

The blog post http://cgi.cse.unsw.edu.au/~dons/blog/2007/11/29
may be of interest re parallelizing that fibonacci function.



More information about the Python-list mailing list