branch: externals/consult
commit 53673a2985e84cc35d0d4603caa53f4c4dc71a30
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    Add comment
---
 consult.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/consult.el b/consult.el
index 67e3a1dc01..3775bc6abb 100644
--- a/consult.el
+++ b/consult.el
@@ -4555,6 +4555,8 @@ BUILDER is the command argument builder."
                          ;; Filter out empty context lines
                          (or (/= (aref str (match-beginning 3)) ?-)
                              (/= (match-end 0) (length str))))
+                ;; We share the file name across candidates to reduce
+                ;; the amount of allocated memory.
                 (unless (and (= file-len (- (match-end 1) (match-beginning 1)))
                              (eq t (compare-strings
                                     file 0 file-len

Reply via email to