Re: [jruby-dev] CacheMap versus MethodCache

2007-07-22 Thread Charles Oliver Nutter
Charles Oliver Nutter wrote: So I'm trying to reconcile the situation. I certainly don't want to lose MethodCache performance, but I need to have the callback for inline caching to be efficient. The cache flush has to be triggered outside the call path, rather than having an additional guard in

[jruby-dev] CacheMap versus MethodCache

2007-07-22 Thread Charles Oliver Nutter
I'm having some issues using MethodCache instead of CacheMap. The problem I have right now with MethodCache is that there's no way to use it for inline caching. In order for my inline cache to work, I need to be able to cache at the call site. But in order for that to be safe I need to be info