Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
FooBarWidget
· 13y ago · 0 comments
It's because MRI's implementation is simple. They haven't bothered caching per class because it takes more code. However JRuby caches per class.
Comments
[–]
enebo
13y ago
If you have to go and look up the method again (even ifcached) because the callsite cache is invalid then you already lost. Constantly invalidating the callsites is the real problem with this pattern.