neoneo-go/pkg/vm/opcode
Roman Khimov 2c2ccdca74 opcode: optimize IsValid
Map access costs much more than array access.

name       old time/op  new time/op  delta
IsValid-8  17.6ns ± 2%   1.1ns ± 2%  -93.68%  (p=0.008 n=5+5)
2021-08-02 21:46:19 +03:00
..
from_string.go opcode: implement FromString() 2020-05-22 13:36:11 +03:00
isvalid_test.go opcode: optimize IsValid 2021-08-02 21:46:19 +03:00
opcode.go opcode: optimize IsValid 2021-08-02 21:46:19 +03:00
opcode_string.go opcode: fix GTE, LTE string representations 2021-04-29 16:08:48 +03:00
opcode_test.go vm: add instruction correctness check 2021-02-09 22:31:26 +03:00