neoneo-go/pkg/core/state
Roman Khimov 6896b40dee state: use open-coded array (de)serialization for accounts
We're spending a lot of time here, 100K blocks import starting at 1.4M, before
this patch:
real    4m17,748s
user    6m23,316s
sys     0m37,866s

After:
real    3m54,968s
user    5m56,547s
sys     0m39,398s

9% is quite a substantial improvement to justify this change.
2019-12-13 19:57:17 +03:00
..
account.go state: use open-coded array (de)serialization for accounts 2019-12-13 19:57:17 +03:00
account_test.go internal: moved testutil method to internal package 2019-12-11 13:14:43 +03:00
asset.go io: rename Read/WriteBytes to Read/WriteB 2019-12-12 20:19:50 +03:00
asset_test.go internal: moved testutil method to internal package 2019-12-11 13:14:43 +03:00
coin.go core: renames entities-> state and removed State prefix 2019-12-11 13:14:18 +03:00
contract.go io: rename Read/WriteBytes to Read/WriteB 2019-12-12 20:19:50 +03:00
contract_test.go core: renames entities-> state and removed State prefix 2019-12-11 13:14:18 +03:00
notification_event.go io: rename Read/WriteBytes to Read/WriteB 2019-12-12 20:19:50 +03:00
notification_event_test.go internal: moved testutil method to internal package 2019-12-11 13:14:43 +03:00
storage_item.go io: add type-specific read/write methods 2019-12-12 20:19:50 +03:00
storage_item_test.go core: renames entities-> state and removed State prefix 2019-12-11 13:14:18 +03:00
validator.go io: add type-specific read/write methods 2019-12-12 20:19:50 +03:00
validator_test.go core: renames entities-> state and removed State prefix 2019-12-11 13:14:18 +03:00