-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Delete values immediately from DB overlay #1631
Conversation
This doesn't add entries of the form (key, -1) like |
tests shouldn't be passing; this needs fixing and a test to ensure it's caught. |
|
This is a pruning overlay for the journaled states, not to be confused with transaction overlay. |
ok, however, the function name should change (since it's not strictly equivalent to there should also be an assertion to the same effect in the function. |
How is it not equivalent? The function does what the name says, removes a reference count and purges it if it reaches zero or negative.
is equivalent to
for a particular key of course |
If the key is not in the DB at the beginning, the semantics are different.
whereas:
|
I see, will change |
About 20% block import speed increase