Skip to content

Commit 963d82a

Browse files
committed
Add a note
1 parent bc607a8 commit 963d82a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

DESIGN.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,10 @@ It seems not. Brian M. Carlson investigated this and reported his
2121
findings here: https://github.com/petdance/ack2/issues/398
2222

2323
There seemed to be no effect.
24+
25+
## Can we make --sort be the default?
26+
27+
No. Sorting the filenames requires reading in the entire directory
28+
of filenames before searching, and this can be a performance hit.
29+
In fact, it can kill ack entirely on directories with absurdly large
30+
numbers of files in them.

0 commit comments

Comments
 (0)