op-geth/trie
Felix Lange e8ea5aa0d5 trie: reduce hasher allocations (#16896)
* trie: reduce hasher allocations

name    old time/op    new time/op    delta
Hash-8    4.05µs ±12%    3.56µs ± 9%  -12.13%  (p=0.000 n=20+19)

name    old alloc/op   new alloc/op   delta
Hash-8    1.30kB ± 0%    0.66kB ± 0%  -49.15%  (p=0.000 n=20+20)

name    old allocs/op  new allocs/op  delta
Hash-8      11.0 ± 0%       8.0 ± 0%  -27.27%  (p=0.000 n=20+20)

* trie: bump initial buffer cap in hasher
2018-06-05 15:06:29 +03:00
..
database.go core, eth, trie: streaming GC for the trie cache (#16810) 2018-06-04 10:47:43 +03:00
encoding.go trie: rename TrieSync to Sync and improve hexToKeybytes (#16804) 2018-05-29 17:48:43 +02:00
encoding_test.go trie: rework and document key encoding 2017-04-25 02:14:31 +02:00
errors.go trie: more node iterator improvements (#14615) 2017-06-20 18:26:09 +02:00
hasher.go trie: reduce hasher allocations (#16896) 2018-06-05 15:06:29 +03:00
iterator.go trie: support proof generation from the iterator 2018-05-23 13:02:20 +03:00
iterator_test.go all: get rid of error when creating memory database (#16716) 2018-05-09 15:24:25 +03:00
node.go trie: remove unused `buf` parameter (#16583) 2018-04-27 12:45:02 +03:00
node_test.go trie, core/state: improve memory usage and performance (#3135) 2016-10-14 19:04:33 +03:00
proof.go trie: fixes to comply with golint (#16771) 2018-05-21 23:41:31 +03:00
proof_test.go trie: support proof generation from the iterator 2018-05-23 13:02:20 +03:00
secure_trie.go trie: fixes to comply with golint (#16771) 2018-05-21 23:41:31 +03:00
secure_trie_test.go all: get rid of error when creating memory database (#16716) 2018-05-09 15:24:25 +03:00
sync.go trie: rename TrieSync to Sync and improve hexToKeybytes (#16804) 2018-05-29 17:48:43 +02:00
sync_test.go trie: rename TrieSync to Sync and improve hexToKeybytes (#16804) 2018-05-29 17:48:43 +02:00
trie.go eth, node, trie: fix minor typos (#16802) 2018-05-24 15:55:20 +03:00
trie_test.go all: get rid of error when creating memory database (#16716) 2018-05-09 15:24:25 +03:00