Does Ruby have any equivalent to Python's __slots__? What about other dynamic languages?
-
-
Replying to @nikomatsakis
@nikomatsakis Does __slots__ have actual semantic impact, or just performance impact?2 replies 0 retweets 0 likes -
Replying to @nikomatsakis
@nikomatsakis@samth yes, they are. Slots are a mess though, almost never what one wants. (and worse on the implementation level)1 reply 0 retweets 0 likes -
Replying to @nikomatsakis
@nikomatsakis@samth only language level approaches? Or also VM level? On the VM level there are a lot.1 reply 0 retweets 0 likes -
Replying to @cfbolz3 replies 0 retweets 0 likes
-
Replying to @nikomatsakis
@nikomatsakis@samth there's object inlining http://ssw.jku.at/Research/Papers/Wimmer08PhD/ …1 reply 0 retweets 1 like -
Replying to @cfbolz2 replies 0 retweets 0 likes
-
Replying to @nikomatsakis
@nikomatsakis if you have more specific questions let me know. Also, a lot of the tricks VMs play around maps aren't documented, AFAIK1 reply 0 retweets 0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.