3 subject="""comment 13"""
4 date="2022-11-17T20:20:16Z"
6 An idea from looking at the flame graphs, is that if
7 reconcileStaged knew it was run on an empty keys db (or was doing a full
8 scan of the tree, not an incremental updte), it could avoid doing the
9 upsert, and do a blind insert instead.
11 This will need some care to be implemented safely...
13 I benchmarked it, and using insertUnique is no faster, but using insert is.
14 This would be a 15% speed up.