[ruby-cvs:68717] mame:r61536 (trunk): iseq.h: Extract position array from iseq_insn_info_entry

mame at ruby-lang.org mame at ruby-lang.org
Mon Jan 1 21:51:21 JST 2018


mame	2018-01-01 21:51:21 +0900 (Mon, 01 Jan 2018)

  New Revision: 61536

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61536

  Log:
    iseq.h: Extract position array from iseq_insn_info_entry
    
    This makes TracePoint a bit fast by reducing cache misses of
    `get_insn_info_binary_search`.
    
    Also, I plan to use succinct bitvector algorithm for `get_insn_info`
    instead of binary search.  This change will make it easy.

  Modified files:
    trunk/compile.c
    trunk/iseq.c
    trunk/iseq.h
    trunk/vm_core.h


More information about the ruby-cvs mailing list