-
Péter Szilágyi authored
The current trie memory database/cache that we do pruning on stores trie nodes as binary rlp encoded blobs, and also stores the node relationships/references for GC purposes. However, most of the trie nodes (everything apart from a value node) is in essence just a collection of references. This PR switches out the RLP encoded trie blobs with the collapsed-but-not-serialized trie nodes. This permits most of the references to be recovered from within the node data structure, avoiding the need to track them a second time (expensive memory wise).
d926bf2c
Name |
Last commit
|
Last update |
---|---|---|
.github | Loading commit data... | |
accounts | ||
bmt | ||
build | ||
cmd | ||
common | ||
consensus | ||
console | ||
containers/docker | ||
contracts | ||
core | ||
crypto | ||
dashboard | ||
eth | ||
ethclient | ||
ethdb | ||
ethstats | ||
event | ||
internal | ||
les | ||
light | ||
log | ||
metrics | ||
miner | ||
mobile | ||
node | ||
p2p | ||
params | ||
rlp | ||
rpc | ||
signer | ||
swarm | ||
tests | ||
trie | ||
vendor | ||
whisper | ||
.dockerignore | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.mailmap | ||
.travis.yml | ||
AUTHORS | ||
COPYING | ||
COPYING.LESSER | ||
Dockerfile | ||
Dockerfile.alltools | ||
Makefile | ||
README.md | ||
VERSION | ||
appveyor.yml | ||
circle.yml | ||
interfaces.go |