From: Ralph Shnelvar Date: 2009-11-11T06:53:54+09:00 Subject: Re: Good or best way to allocate a large array Justin, >> Is there any way to tell what architecture Ruby thinks I'm using? >> >> RK> Cheers >> >> RK> robert >> JC> Check the size of an integer. JC> $ ruby -v JC> ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] JC> $ irb irb(main):001:0>> 1.size =>> 8 JC> $ ruby -v JC> ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-linux] JC> $ irb irb(main):001:0>> 1.size =>> 4 What a lovely and elegant solution! Thanks! Ralph