]> dgit.raspbian.org Git - git-annex.git/blob
36474beabef4940cc5ca9a8a7dac48983c265bf0
[git-annex.git] /
1 [[!comment format=mdwn
2  username="joey"
3  subject="""comment 13"""
4  date="2022-11-17T20:20:16Z"
5  content="""
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.
10
11 This will need some care to be implemented safely... 
12
13 I benchmarked it, and using insertUnique is no faster, but using insert is.
14 This would be a 15% speed up.
15 """]]