[gambit-list] set! of local var in compiled code behavior, box-var / var->box
mikael.rcv at gmail.com
Mon Nov 14 12:36:49 EST 2011
Noted that set! of local variables in compiled code returns a box object
with as slot, the variable slot of the mutated variable. While this is a
great feature, i'd really want to disable this as a bundled behavior in
set!, as I use set! for mutation solely, and this box object generation
thus takes resources unneccesarily. How is this box generation disabled?
It would be great to have this feature as a separate primitive instead,
like box-var or var->box or sth, that'd work for both in interpreted and
compiled code, and both for local and global vars. If there's anything like
this, please let me/the ml know.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gambit-list