From: Dalibor Sramek Date: 2003-01-06T16:14:33+09:00 Subject: Re: Compile time constant folding? On Mon, Jan 06, 2003 at 11:15:46AM +0900, Dan Sugalski wrote: > You'd be surprised, especially when you factor in some other > optimizations--you can do some substitutions and inferences of > variable contents. Could the programmer help the compiler with guessing when the optimization is feasible? For (imperfect) example if I use Fixnum.freeze in the code I am telling the compiler to optimize 3 + 5 ? Dalibor Sramek -- Dalibor Sramek http://www.insula.cz/dali | In the eyes of cats, dalibor.sramek@insula.cz | all things belong to cats.