Charles Oliver Nutter wrote:
I noticed this evening we don't cache literal floats in either the interpreter or the compiler, but I could not remember why. I've attached a patch that fixes this, but does anyone remember if there's a reason why we couldn't cache floats? Are they mutable or something?
Ok, I figured out one reason when longer tests ran in the compiler: floats can be tainted and frozen. I'm going to ask about that on ruby-core and see if it's just an oversight or if there's a reason for it.
- Charlie --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
