(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