Junegunn Choi
af809c9661
Minor refactorings
2017-08-26 03:24:42 +09:00
Junegunn Choi
99927c7071
Modify loop conditions in checkAscii function
2017-08-01 22:04:42 +09:00
Junegunn Choi
69aa2fea68
Optimize fuzzy search performance for ASCII strings
2017-07-30 17:31:50 +09:00
Junegunn Choi
c9f16b6430
Avoid unconditionally storsing input as runes
...
When --with-nth is used, fzf used to preprocess each line and store the
result as rune array, which was wasteful if the line only contains ascii
characters.
2017-07-20 02:44:30 +09:00
Junegunn Choi
5e72709613
Speed up initial scanning with bitwise AND operation
2017-07-18 02:17:05 +09:00
Junegunn Choi
9e85cba0d0
Reduce memory footprint of Item struct
2017-07-16 23:34:32 +09:00
Junegunn Choi
04492bab10
Use unicode.IsSpace to cover more whitespace characters
2016-09-29 22:40:22 +09:00
Junegunn Choi
d9c8a9a880
[perf] Remove memory copy when using string delimiter
2016-08-14 04:30:55 +09:00
Junegunn Choi
ddc7bb9064
[perf] Optimize AWK-style tokenizer for --nth
...
Approx. 50% less memory footprint and 40% improvement in query time
2016-08-14 02:19:29 +09:00
Junegunn Choi
1d4057c209
[perf] Avoid allocating rune array for ascii string
...
In the best case (all ascii), this reduces the memory footprint by 60%
and the response time by 15% to 20%. In the worst case (every line has
non-ascii characters), 3 to 4% overhead is observed.
2016-08-14 00:41:30 +09:00