Hi,

Am Montag, 10. Jan 2005, 21:09:03 +0900 schrieb Kaspar Schiess:
> Ruby variables hold references to objects.

Stricly spoken, Fixnums don't. They are treated a special
way.

> If you are interested in the underlying 
> reality I guess you need to look at some code.

And here it comes (paste to `irb'):

  max = 2**30
  a = Array.new 5_000 do rand max end ; nil
  a.all? { |i| i == i.object_id >> 1 }
  a.any? { |i| (i.object_id & 0x1).zero? }

Bertram

-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de