Real closures
bryce at kampjes.demon.co.uk
bryce at kampjes.demon.co.uk
Sun Oct 8 11:25:49 UTC 2006
Philippe Marschall writes:
> You can do some micro-benchmarks for closures vs. blocks. And they
> don't look good. They also slow down cases where you don't need full
> block clousres and what VW calls a clean block would do. Probably
> primitive 189 was not added.
>
> http://minnow.cc.gatech.edu/squeak/ClosureCompiler
> http://lists.squeakfoundation.org/pipermail/squeak-dev/2003-April/056833.html
>
> [(1 to: 1000000) do: [:i | i]] timeToRun
> non-closure mode: 240 ms
> closure mode: 1660 ms
When the only problems are performance problems I'm happy to help
fix them. With an interpreter (no Exupery) only solution.
Bryce
More information about the Squeak-dev
mailing list
|