[Stackless] Video on channels
Arnar Birgisson
arnarbi at gmail.com
Mon Sep 10 21:29:16 CEST 2007
On 9/10/07, Johan Carlsson <johanc at easypublisher.com> wrote:
> Ok FYI, I run the profiler on my imperative code and Hallgrimur
> Gunnarsson stackless version of sieve prime (at 10000 iterations,
> Arnars code wouldn't make it):
>
> 134731 function calls in 246.349 CPU seconds for my imperative version.
> 10004 function calls in 141.017 CPU seconds for Hallgrimur version.
> (124731 function calls in 250.432 CPU seconds for mine using tuple
> instead of list)
>
> Clearly the overhead for bookkeeping is relevant of efficiency.
Did you run your imperative version with standard python or stackless python?
Arnar
More information about the Stackless
mailing list