mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-01-11 11:20:38 +00:00
3218b74ea5
Put to slice directly and allow to provide pre-allocated buffer. ``` BenchmarkNEP17BalanceBytes/stackitem-8 1712475 673.4 ns/op 448 B/op 9 allocs/op BenchmarkNEP17BalanceBytes/bytes-8 13422715 75.80 ns/op 32 B/op 2 allocs/op BenchmarkNEP17BalanceBytes/bytes,_prealloc-8 25990371 46.46 ns/op 16 B/op 1 allocs/op ``` Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru> |
||
---|---|---|
.. | ||
contract.go | ||
contract_test.go | ||
deposit.go | ||
deposit_test.go | ||
mpt_root.go | ||
mpt_root_test.go | ||
native_state.go | ||
native_state_test.go | ||
nep17.go | ||
nep17_test.go | ||
notification_event.go | ||
notification_event_test.go | ||
oracle.go | ||
oracle_test.go | ||
storage_item.go | ||
validator.go |