flow-dps icon indicating copy to clipboard operation
flow-dps copied to clipboard

Trie Improvement: Store only relevant part of path in extensions

Open Ullaakut opened this issue 3 years ago • 0 comments

Description

In order to save a few bytes for each extension, we can remove any bits from the extension path beyond the skipped height's bit. Currently, paths are stored as ledger.Path which are arrays of 32 bytes. This change would require storing a bitset or a []byte instead.

Ullaakut avatar Dec 17 '21 10:12 Ullaakut