From: "shugo (Shugo Maeda)" Date: 2012-10-06T18:37:41+09:00 Subject: [ruby-dev:46207] [ruby-trunk - Bug #7111] New build option to enable/disable global method caching Issue #7111 has been updated by shugo (Shugo Maeda). ko1 (Koichi Sasada) wrote: > (2012/10/06 15:31), shugo (Shugo Maeda) wrote: > > I forgot to attach it:( > > Please see opt_global_method_cache.diff attached. > > It is okay. But I recommend that only method search at the the > `rb_method_entry_get_with_omod' should be disable to measure and compare > performance. I've committed the fix with the above change. ---------------------------------------- Bug #7111: New build option to enable/disable global method caching https://bugs.ruby-lang.org/issues/7111#change-30121 Author: shugo (Shugo Maeda) Status: Closed Priority: Normal Assignee: ko1 (Koichi Sasada) Category: core Target version: ruby -v: ruby 2.0.0dev (2012-10-05 trunk 37093) [i686-linux] Ruby has a build option to enable/disable inline method caching (OPT_INLINE_METHOD_CACHE), but has no such option for global method caching. How about to add a new build option OPT_GLOBAL_METHOD_CACHE? I've attached a patch to add that option. -- http://bugs.ruby-lang.org/