Cachelined: A ruby improvement
Abstract
It's faster, even compared to 2.1.
Introduction
Ruby is an object oriented language. Although it is normal these days, "everything is an object" has been a key characteristic of this language.
The "object", in practice, is stored as a C struct named struct RVALUE (with a few exceptions such as true, false). This struct is a 5 machine-word sized structure. Its first word is management area mainly for flags, the next word is a pointer to that object's class...
Comments (0)
Sign in to post comments.