neo-go/pkg/vm/stackitem
Roman Khimov 324f4c265b stackitem: don't copy existing slices for TryBytes
Most often we only need to read them and it doesn't require copying. Make an
explicit copy (and copy only things we need!) where needed.

After the recent neo-vm tests update our vm package testing time jumped to
~12s, with this change it's now more like ~8s.
2020-08-22 23:36:38 +03:00
..
item.go stackitem: don't copy existing slices for TryBytes 2020-08-22 23:36:38 +03:00
item_test.go stackitem: implement DeepCopy 2020-08-05 11:19:41 +03:00
json.go Merge pull request #1242 from nspcc-dev/fix/json 2020-08-04 12:59:47 +03:00
json_test.go stackitem: implement unmarshaling from JSON with types 2020-07-31 16:07:16 +03:00
serialization.go vm: fix stackitem serialisation 2020-07-06 15:04:19 +03:00
type.go stackitem: allow to convert type from string 2020-07-31 16:07:16 +03:00
type_test.go stackitem: allow to convert type from string 2020-07-31 16:07:16 +03:00