neoneo-go/pkg/vm
Roman Khimov 74097ae8b0 stackitem: add NewPointerWithHash() to save on hash calculations
Inspired by neo-project/neo-vm#352. We can't directly compare slices, so we're
better optimize things we already have. At the same time this code would
behave a bit different if A is to call B and then B is call A and then some
pointer from the first A invocation is to be compared with a pointer from the
second A invocation. Not sure it really matters.
2020-08-22 22:19:44 +03:00
..
cli vm: make (*Context).IP() return instruction pointer 2020-08-21 08:44:32 +03:00
emit core: replace interop names with named constants 2020-08-14 14:21:54 +03:00
opcode vm: support exceptions 2020-07-24 10:41:41 +03:00
stackitem stackitem: add NewPointerWithHash() to save on hash calculations 2020-08-22 22:19:44 +03:00
testdata stackitem: return error in TryBytes() for big byte strings 2020-08-21 21:05:47 +03:00
context.go stackitem: change Bool() to TryBool(), prepare for its failures 2020-08-21 20:55:20 +03:00
contract_checks.go core: replace interop names with named constants 2020-08-14 14:21:54 +03:00
contract_checks_test.go core: change verification scripts to new format 2020-04-20 11:55:24 +03:00
debug_test.go vm: fix debugger and add tests 2020-08-18 11:26:27 +03:00
exception.go stackitem: change Bool() to TryBool(), prepare for its failures 2020-08-21 20:55:20 +03:00
interop.go core: replace interop names with named constants 2020-08-14 14:21:54 +03:00
interop_iterators.go core: adjust System.Enumerator.Create interop 2020-07-23 07:51:24 +03:00
json_test.go always wrap errors when creating new ones with fmt.Errorf() 2020-08-07 12:21:52 +03:00
ref_counter.go vm: move StackItem to a separate package 2020-06-08 13:27:08 +03:00
ref_counter_test.go vm: move StackItem to a separate package 2020-06-08 13:27:08 +03:00
slot.go vm: allow to initialize static slot in method 2020-07-27 13:00:35 +03:00
slot_test.go vm: allow to initialize static slot in method 2020-07-27 13:00:35 +03:00
stack.go stackitem: change Bool() to TryBool(), prepare for its failures 2020-08-21 20:55:20 +03:00
stack_test.go vm: allow to convert stack to a slice 2020-07-31 16:07:16 +03:00
state.go remove github.com/pkg/errors from dependencies 2020-08-07 12:21:52 +03:00
state_test.go core, vm: store VMState as byte instead of string 2020-07-29 10:14:08 +03:00
vm.go stackitem: add NewPointerWithHash() to save on hash calculations 2020-08-22 22:19:44 +03:00
vm_test.go vm: add tests for ByteString enumerator/iterator 2020-08-18 11:24:48 +03:00