neoneo-go/pkg/core/state
Evgeniy Stratonikov 23adb1e2fc state: optimize NEP17TransferLog.Append
Do not allocate a separate buffer for the transfer.
```
name                       old time/op    new time/op    delta
NEP17TransferLog_Append-8    58.8µs ± 3%    32.1µs ± 1%  -45.40%  (p=0.000 n=10+9)

name                       old alloc/op   new alloc/op   delta
NEP17TransferLog_Append-8     118kB ± 1%      44kB ± 3%  -63.00%  (p=0.000 n=9+10)

name                       old allocs/op  new allocs/op  delta
NEP17TransferLog_Append-8       901 ± 1%       513 ± 3%  -43.08%  (p=0.000 n=9+8)
```

Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru>
2021-08-09 11:09:49 +03:00
..
contract.go *: simplify some integer checks with IsUint64() 2021-07-19 15:42:42 +03:00
contract_test.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00
deposit.go *: simplify some integer checks with IsUint64() 2021-07-19 15:42:42 +03:00
deposit_test.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00
mpt_root.go state: fix MPTRoot JSONization 2021-03-26 13:45:18 +03:00
mpt_root_test.go state: fix MPTRoot JSONization 2021-03-26 13:45:18 +03:00
native_state.go state: optimize NEP17Balance deserialization 2021-08-09 11:09:49 +03:00
native_state_test.go state: optimize NEP17Balance deserialization 2021-08-09 11:09:49 +03:00
nep17.go state: optimize NEP17TransferLog.Append 2021-08-09 11:09:49 +03:00
nep17_test.go state/test: add benchmark for NEP17TransferLog.Append 2021-08-09 11:09:49 +03:00
notification_event.go *: do not use WriteArray for frequently used items 2021-08-06 11:59:20 +03:00
notification_event_test.go *: do not use WriteArray for frequently used items 2021-08-06 11:59:20 +03:00
oracle.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00
oracle_test.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00
storage_item.go dao: serialize state.StorageItem as raw bytes 2021-03-09 12:11:26 +03:00
validator.go core: switch to the new voting system (via native NEO contract) 2020-04-27 16:06:50 +03:00