]> arthur.barton.de Git - bup.git/commitdiff
vfs: flatten resolution cache key
authorRob Browning <rlb@defaultvalue.org>
Sat, 7 Jul 2018 17:20:47 +0000 (12:20 -0500)
committerRob Browning <rlb@defaultvalue.org>
Mon, 3 Sep 2018 18:30:10 +0000 (13:30 -0500)
This will require more storage if there are a lot of lookups with the
same parent and differing paths, but otherwise, without more
intentional structure sharing among paths, this should be better, and
we can always revisit the arrangement later.

Serializing the parent path segments should also make sure the same
parent (semantically-speaking) contributes the same hash to the key.
Previously, Metadata objects could prevent that, given their trivial,
pointer-based hashes.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>

No differences found