m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-16 15:23:48 -05:00

Improve ingestion performance (by around 20%)

This commit is contained in:
Junegunn Choi
2024-04-01 23:38:46 +09:00
parent 128e4a2e8d
commit 41b3511ad9
6 changed files with 85 additions and 23 deletions

View File

@@ -14,6 +14,7 @@ const (
// Reader
readerBufferSize = 64 * 1024
readerSlabSize = 128 * 1024
readerPollIntervalMin = 10 * time.Millisecond
readerPollIntervalStep = 5 * time.Millisecond
readerPollIntervalMax = 50 * time.Millisecond