This is the mail archive of the
guile@sources.redhat.com
mailing list for the Guile project.
Re: procedure optimization
Mikael Djurfeldt <mdj@mdj.nada.kth.se> writes:
> > However, if the binding of `1+' is changed after the above program is
> > created, the program is no longer correct; I need to rebuild it.
(snip)
> We'll allow for efficient code by letting most top-level bindings
> imported from other modules be read-only. In the module system, there
> also is hooks for reverting things to "uncompiled state" when bindings
> change.
Okay, so we should recompile programs each time bindings changed (not
created) in a module. That should work and be always most efficient.