summaryrefslogtreecommitdiff
path: root/src/util/chars_test.go
AgeCommit message (Collapse)Author
2025-03-16Fix wrapping of the list sectionJunegunn Choi
# The first line of the second chunk would prematurely wrap printf '%0500s\n\n%0500s' 0 0 | fzf --wrap --read0
2024-06-25Add --wrap option and 'toggle-wrap' action (#3887)Junegunn Choi
* `--wrap` * `--wrap-sign` * `toggle-wrap` Close #3619 Close #2236 Close #577 Close #461
2017-07-20Avoid unconditionally storsing input as runesJunegunn Choi
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-16Reduce memory footprint of Item structJunegunn Choi
2016-08-14[perf] Remove memory copy when using string delimiterJunegunn Choi
2016-08-14[perf] Optimize AWK-style tokenizer for --nthJunegunn Choi
Approx. 50% less memory footprint and 40% improvement in query time
2016-08-14[perf] Avoid allocating rune array for ascii stringJunegunn Choi
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.