[<<][libprim][>>][..]
Thu Nov 26 23:28:40 CET 2009

`freeze'

Currently 50% of the execution time is spent in variable lookup.  What
about adding a `freeze' operation that will replace all global names
with values?

The reason to make this a command is to make the semantics
controllable.  Freezing variables to values needs boxing to preserve
mutability.

As long as define / set! are not used to change the contents of a
global variables, this works fine and should speed up a lot.




[Reply][About]
[<<][libprim][>>][..]