Closed greensky00 closed 4 years ago
If given seq number is greater than the current max, that means it should not exist in the existing by-seq skiplist.
For by-key skiplist, try non-duplicate insert instead of searching, as inserting duplicate key usually has relatively lower probability.
If given seq number is greater than the current max, that means it should not exist in the existing by-seq skiplist.
For by-key skiplist, try non-duplicate insert instead of searching, as inserting duplicate key usually has relatively lower probability.