Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 3,456 posts.

Any topic
2013
2720

MRI's Method Caches

One of MRI's big performance problems is that method cache expiry is global. That is, any time you make a change to any class anywhere, the entire VM's method caches get busted at the same time. This is why you'll frequently hear people saying that "calling Object#extend is bad".