[ruby-cvs:68718] mame:r61537 (trunk): vm_core.h: make the algorithm of get_insn_info selectable

mame at ruby-lang.org mame at ruby-lang.org
Mon Jan 1 22:18:56 JST 2018


mame	2018-01-01 22:18:55 +0900 (Mon, 01 Jan 2018)

  New Revision: 61537

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

  Log:
    vm_core.h: make the algorithm of get_insn_info selectable
    
    Currently, VM_INSN_INFO_TABLE_IMPL == 0 means linear search, and
    VM_INSN_INFO_TABLE_IMPL == 1 means binary search.  I plan to add
    succinct bitvector algorithm later.

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


More information about the ruby-cvs mailing list