Added a comment: keys-to-paths db
authorIlya_Shlyakhter <Ilya_Shlyakhter@web>
Mon, 31 May 2021 23:15:21 +0000 (23:15 +0000)
committeradmin <admin@branchable.com>
Mon, 31 May 2021 23:15:21 +0000 (23:15 +0000)
doc/todo/Avoid_lengthy___34__Scanning_for_unlocked_files_...__34__/comment_16_adf57675c5fa1047ee48b16dd356f4fe._comment [new file with mode: 0644]

diff --git a/doc/todo/Avoid_lengthy___34__Scanning_for_unlocked_files_...__34__/comment_16_adf57675c5fa1047ee48b16dd356f4fe._comment b/doc/todo/Avoid_lengthy___34__Scanning_for_unlocked_files_...__34__/comment_16_adf57675c5fa1047ee48b16dd356f4fe._comment
new file mode 100644 (file)
index 0000000..99de4eb
--- /dev/null
@@ -0,0 +1,11 @@
+[[!comment format=mdwn
+ username="Ilya_Shlyakhter"
+ avatar="http://cdn.libravatar.org/avatar/1647044369aa7747829c38b9dcc84df0"
+ subject="keys-to-paths db"
+ date="2021-05-31T23:15:21Z"
+ content="""
+The lengthy scan would only happen once -- when the worktree is first checked out -- and would be incremental from then on, right?
+But it would slow things down every time a new checkout of a large repo happens?  Maybe the scan could be done lazily, invoked when the results are first needed?
+Also, if you just need to know which keys are used more than once, maybe a Bloom filter of the keys used in the worktree would suffice, instead of a full keys-to-paths SQL db?
+
+"""]]