From: RichardOnRails Date: 2009-12-22T03:55:10+09:00 Subject: Re: Ruby's implementation of Fixnum-assignment On Dec 21, 11:25 am, Gary Wright wrote: > On Dec 21, 2009, at 10:55 AM, RichardOnRails wrote: > > > > > Is my speculation about this aspect of Ruby's implementation correct, > > or am I all wet? > > Generally correct.  You might want to look at for a discussion of this overall technique.  This technique is one way around 'boxing' primitive types such as small integers, boolean values, nil, and symbols. > > Gary Wright Hi Gary, > Generally correct. Thanks for encouragement. > Tagged_pointer Thanks for the reference. I hadn't heard of the term before. Best wishes, Richard