From: SASADA Koichi Date: 2011-06-10T10:35:09+09:00 Subject: [ruby-core:36908] Re: [Ruby 1.9 - Feature #3905] rb_clear_cache_by_class() called often during GC for non-blocking I/O Hi, (2011/06/07 2:55), Eric Wong wrote: > Akira Tanaka wrote: >> I don't against for the ephemeral class flag but >> it needs discussion with ko1 and/or matz. > > Can either of them comment please? I would really like to see > this performance regression fixed in 1.9.3. Clearing method caching cause the following 2 overheads: (1) Clearing overhead (2) Cache misses because of clearing methods Which is your purpose? For (1), I made an alternative patch: http://www.atdot.net/sp/readonly/x8wjml For (2), ephemeral class seems good. -- // SASADA Koichi at atdot dot net