Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
Seven new VMs, all in a row
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Avi Bryant, post: 4465885"] Just posted on that... Only in truly pathological cases - for normal numbers of instance variables, the overhead of an external lookup table would be higher than that of keeping a few unused slots in the body of the object. But of course if the compiler saw that instances of a particular class might have up to 50 instance variables, it could choose to implement that class with a hashtable for variables. I'm not convinced that case is likely enough to be worth checking and optimizing for, but who knows. Avi [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
Seven new VMs, all in a row
Top