[ruby-cvs:78751] a01d22b8c1 (master): Check type with BUILTIN_TYPE in method cache clear

"John Hawthorn" <[email protected]>
Newsgroups gmane.comp.lang.ruby.cvs
Message-ID <[email protected]>
John Hawthorn	2019-12-12 08:47:49 +0900 (Thu, 12 Dec 2019)

  New Revision: a01d22b8c1

  https://github.com/ruby/ruby/commit/a01d22b8c1

  Log:
    Check type with BUILTIN_TYPE in method cache clear
    
    We know that this is a heap-allocated object (a CLASS, MODULE, or
    ICLASS) so we don't need to check if it is an immediate value. This
    should be very slightly faster.

  Modified files:
    vm_method.c
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.