neo-go/pkg/vm
Evgeniy Stratonikov 9712be78fd vm: optimize refcounter
```
name                    old time/op    new time/op    delta
RefCounter_Add-8          9.47ns ± 4%    2.75ns ± 1%   -70.92%  (p=0.000 n=10+9)
RefCounter_AddRemove-8    88.9ns ±20%     5.5ns ± 4%   -93.78%  (p=0.000 n=10+10)

name                    old alloc/op   new alloc/op   delta
RefCounter_Add-8           0.00B          0.00B           ~     (all equal)
RefCounter_AddRemove-8     48.0B ± 0%      0.0B       -100.00%  (p=0.000 n=10+10)

name                    old allocs/op  new allocs/op  delta
RefCounter_Add-8            0.00           0.00           ~     (all equal)
RefCounter_AddRemove-8      2.00 ± 0%      0.00       -100.00%  (p=0.000 n=10+10)
```

Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru>
2022-08-23 13:18:06 +03:00
..
cli *: remove io/ioutil uses 2022-03-17 19:39:18 +03:00
emit [#2442] English Check 2022-05-04 19:48:27 +03:00
invocations vm: move InvocationTree into a package of its own 2022-07-08 23:30:30 +03:00
opcode vm: add MODMUL and MODPOW opcodes 2022-05-12 14:25:14 +03:00
stackitem *: apply go 1.19 formatter heuristics 2022-08-09 15:37:52 +03:00
testdata vm: upgrade submodule 2022-05-12 14:25:14 +03:00
vmstate vm: move State type into a package of its own 2022-07-08 18:34:52 +03:00
bench_test.go vm: optimize IsSignatureContract 2022-06-07 10:29:13 +03:00
context.go contract/vm: only push NULL after call in dynamic contexts 2022-08-05 14:35:00 +03:00
contract_checks.go vm: optimize IsSignatureContract 2022-06-07 10:29:13 +03:00
contract_checks_test.go vm: avoid panic in IsScriptCorrect 2022-03-17 20:12:50 +03:00
debug_test.go vm: rework stack as a simple slice 2021-08-24 15:28:14 +03:00
exception.go [#2442] English Check 2022-05-04 19:48:27 +03:00
fuzz_test.go vm: optimize refcounter 2022-08-23 13:18:06 +03:00
interop.go vm: extract shared parts of the Context 2022-08-05 14:26:25 +03:00
invocation_tree_test.go vm: move InvocationTree into a package of its own 2022-07-08 23:30:30 +03:00
json_test.go vm: extract shared parts of the Context 2022-08-05 14:26:25 +03:00
opcodebench_test.go vm: extract shared parts of the Context 2022-08-05 14:26:25 +03:00
ref_counter.go vm: optimize refcounter 2022-08-23 13:18:06 +03:00
ref_counter_test.go vm/bench: extend refcounter benchmarks 2022-08-23 13:08:42 +03:00
slot.go vm: simplify (slot).Set code 2022-05-17 16:26:22 +03:00
slot_test.go vm: count initial Null slot variables as well 2022-05-16 17:42:57 +03:00
stack.go *: apply go 1.19 formatter heuristics 2022-08-09 15:37:52 +03:00
stack_test.go vm: rework stack as a simple slice 2021-08-24 15:28:14 +03:00
vm.go contract/vm: only push NULL after call in dynamic contexts 2022-08-05 14:35:00 +03:00
vm_test.go vm: clear static slot refs on exit, fix #2501 2022-05-17 16:26:22 +03:00