I’ve been poking around Ruby’s internals, and I found some cool things about the way Ruby represents integers in memory.
Let’s start with the obvious: in Ruby, everything is an object, including integer literals.
|
||||
|
I’ve been poking around Ruby’s internals, and I found some cool things about the way Ruby represents integers in memory. |
||||
|
Copyright © 2010 Sarah Mei - All Rights Reserved |
||||