From: Tanaka Akira Date: 2010-08-01T00:24:48+09:00 Subject: [ruby-core:31563] Re: non-blocking I/O constantly clearing cache in 1.9.2 2010/7/31 Tanaka Akira : > * don't clear the method cache because IO::WaitReadable has no method. Implemented. % svn diff --diff-cmd diff -x '-u -p' Index: class.c =================================================================== --- class.c (revision 28807) +++ class.c (working copy) @@ -659,7 +659,8 @@ rb_include_module(VALUE klass, VALUE mod } } c = RCLASS_SUPER(c) = include_class_new(module, RCLASS_SUPER(c)); - changed = 1; + if (RMODULE_M_TBL(module) && RMODULE_M_TBL(module)->num_entries) + changed = 1; skip: module = RCLASS_SUPER(module); } -- Tanaka Akira