ruby-changes:49633
From: ko1 <ko1@a...>
Date: Wed, 10 Jan 2018 02:09:29 +0900 (JST)
Subject: [ruby-changes:49633] ko1:r61748 (trunk): use binary search for insns_info.
ko1 2018-01-10 02:09:23 +0900 (Wed, 10 Jan 2018) New Revision: 61748 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61748 Log: use binary search for insns_info. * vm_core.h (VM_INSN_INFO_TABLE_IMPL): use 1 (binary search) because 2 (succinct bitvector) doesn't work on Rasbian (x86_64). Modified files: trunk/vm_core.h Index: vm_core.h =================================================================== --- vm_core.h (revision 61747) +++ vm_core.h (revision 61748) @@ -63,7 +63,7 @@ https://github.com/ruby/ruby/blob/trunk/vm_core.h#L63 * 2: succinct bitvector */ #ifndef VM_INSN_INFO_TABLE_IMPL -# define VM_INSN_INFO_TABLE_IMPL 2 +# define VM_INSN_INFO_TABLE_IMPL 1 #endif #include "ruby/ruby.h" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/