Real closures

bryce at bryce at
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.
 > [(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.


More information about the Squeak-dev mailing list