From: SASADA Koichi Date: 2014-01-31T14:29:08+09:00 Subject: [ruby-core:60368] Re: [ruby-trunk - Bug #9262] global_method_cache should be configurable or grow automatically (2014/01/30 4:17), Eric Wong wrote: > It looks like the performance regressions w/o global method cache are > because rb_funcall and friends do not have call info, so they don't > hit the inline cache. So perhaps we should just add a call info-aware > version of rb_funcall-like functions so we can just use inline cache > everywhere. > > I'm pretty sure ko1 already knows that, but I just discovered it :x > tmm1: what do you think? > charliesome have proposed a simiar API (sorry I forget the URL). He use only static variable (not thread-local) and it seems works well. However, I think it may have pitfalls (recursive call) so I can't decide to introduce it. -- // SASADA Koichi at atdot dot net