Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-03-07 | Always prepend ANSI reset code before re-assembling tokens | Junegunn Choi | |
2019-03-07 | Remove unnecessary ANSI code injection | Junegunn Choi | |
2019-03-06 | Preserve the original color of each token when using --with-nth with --ansi | Junegunn Choi | |
Close #1500 | |||
2018-12-19 | Inverse-only matches should not reorder the remaining results | Junegunn Choi | |
Fix #1458 | |||
2017-08-20 | Ignore EvtReadNew if EvtReadFin is already set | Junegunn Choi | |
2017-08-20 | Remove redundant read event when --sync is used | Junegunn Choi | |
2017-08-16 | Remove count field from ChunkList | Junegunn Choi | |
2017-08-16 | Make Reader event notification asynchronous | Junegunn Choi | |
Instead of notifying the event coordinator (EventBox) whenever a new line is arrived, start a background goroutine that periodically does the task. Atomic.StoreInt32 is much cheaper than mutex synchronization that happens during EventBox update. | |||
2017-08-15 | Remove special nilItem | Junegunn Choi | |
2017-08-01 | Do not use defer in performance-sensitive contexts | Junegunn Choi | |
2017-07-21 | Further reduce unnecessary rune array conversion | Junegunn Choi | |
I was too quick to release 0.16.9, this commit makes --ansi processing even faster. | |||
2017-07-20 | Avoid unconditionally storsing input as runes | Junegunn 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-16 | Reduce memory footprint of Item struct | Junegunn Choi | |
2017-07-16 | Remove pointer indirection by changing Chunk definition | Junegunn Choi | |
2017-07-01 | Print [ERROR] on info line when the default command failed | Junegunn Choi | |
With zero result. Related: https://github.com/junegunn/fzf.vim/issues/22#issuecomment-311869805 | |||
2017-06-02 | Add git revision to --version output | Junegunn Choi | |
2017-06-02 | Fix inconsistent tiebreak scores when --nth is used | Junegunn Choi | |
Make sure to consistently calculate tiebreak scores based on the original line. This change may not be preferable if you filter aligned tabular input on a subset of columns using --nth. However, if we calculate length tiebreak only on the matched components instead of the entire line, the result can be very confusing when multiple --nth components are specified, so let's keep it simple and consistent. Close #926 | |||
2017-01-30 | 0.16.30.16.3 | Junegunn Choi | |
2017-01-09 | Add --normalize option to normalize latin script characters | Junegunn Choi | |
Close #790 | |||
2016-09-19 | Add --print0 option0.15.0 | Junegunn Choi | |
Related: #660 | |||
2016-09-18 | Revise ranking algorithm | Junegunn Choi | |
2016-08-20 | No need to cache the result in filtering mode (--filter) | Junegunn Choi | |
2016-08-20 | Remove Offset slice from Result struct | Junegunn Choi | |
2016-08-19 | Micro-optimizations | Junegunn Choi | |
- Make structs smaller - Introduce Result struct and use it to represent matched items instead of reusing Item struct for that purpose - Avoid unnecessary memory allocation - Avoid growing slice from the initial capacity - Code cleanup | |||
2016-08-17 | Setting GOMAXPROCS is no longer needed | Junegunn Choi | |
https://golang.org/doc/go1.5 | |||
2016-08-14 | [perf] Avoid allocating rune array for ascii string | Junegunn 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. | |||
2016-06-14 | Do not process ANSI codes in --preview output at once | Junegunn Choi | |
Close #598 | |||
2016-01-14 | Simplify Item structure | Junegunn Choi | |
This commit compensates for the performance overhead from the extended tiebreak option. | |||
2016-01-13 | Accept comma-separated list of sort criteria | Junegunn Choi | |
2016-01-13 | Update license: 2016 | Junegunn Choi | |
2015-11-03 | Make --extended default | Junegunn Choi | |
Close #400 | |||
2015-09-15 | Replace --header-file with --header (#346) | Junegunn Choi | |
and allow using --header and --header-lines at the same time. Close #346. | |||
2015-09-15 | Change exit status (0: OK, 1: No match, 2: Error/Interrupted) | Junegunn Choi | |
A la grep. Close #345 | |||
2015-09-12 | Fix #344 - Backward scan when `--tiebreak=end` | Junegunn Choi | |
2015-08-28 | Should not strip ANSI codes when --ansi is not set | Junegunn Choi | |
2015-08-02 | Performance fix - unnecessary rune convertion on --ansi | Junegunn Choi | |
> time cat /tmp/list | fzf-0.10.1-darwin_amd64 --ansi -fqwerty > /dev/null real 0m4.364s user 0m8.231s sys 0m0.820s > time cat /tmp/list | fzf --ansi -fqwerty > /dev/null real 0m4.624s user 0m5.755s sys 0m0.732s | |||
2015-08-02 | Performance tuning - eager rune array conversion | Junegunn Choi | |
> wc -l /tmp/list2 2594098 /tmp/list2 > time cat /tmp/list2 | fzf-0.10.1-darwin_amd64 -fqwerty > /dev/null real 0m5.418s user 0m10.990s sys 0m1.302s > time cat /tmp/list2 | fzf-head -fqwerty > /dev/null real 0m4.862s user 0m6.619s sys 0m0.982s | |||
2015-08-02 | Lint | Junegunn Choi | |
2015-07-22 | Fix --header-lines unaffected by --with-nth | Junegunn Choi | |
2015-07-22 | Fix ANSI processor to handle multi-line regions | Junegunn Choi | |
2015-07-22 | Add --header-lines option | Junegunn Choi | |
2015-06-08 | add support to nil-byte separated input strings, closes #121 | Giulio Iotti | |
2015-05-20 | Remove duplicate processing of command-line options | Junegunn Choi | |
2015-04-18 | Add `--color=[dark|light|16|bw]` option | Junegunn Choi | |
- dark: the current default for 256-color terminal - light: color scheme for 256-color terminal with light background - 16: the default color scheme for 16-color terminal (`+2`) - bw: no colors (`+c`) | |||
2015-04-17 | Improvements in performance and memory usage | Junegunn Choi | |
I profiled fzf and it turned out that it was spending significant amount of time repeatedly converting character arrays into Unicode codepoints. This commit greatly improves search performance after the initial scan by memoizing the converted results. This commit also addresses the problem of unbounded memory usage of fzf. fzf is a short-lived process that usually processes small input, so it was implemented to cache the intermediate results very aggressively with no notion of cache expiration/eviction. I still think a proper implementation of caching scheme is definitely an overkill. Instead this commit introduces limits to the maximum size (or minimum selectivity) of the intermediate results that can be cached. | |||
2015-04-16 | Add visual indication of --toggle-sort | Junegunn Choi | |
Close #194 | |||
2015-04-16 | Add --tiebreak option for customizing sort criteria | Junegunn Choi | |
Close #191 | |||
2015-03-31 | Implement --toggle-sort option (#173) | Junegunn Choi | |
2015-03-31 | Fix #172 - Print empty line when fzf with expect finished by -1 or -0 | Junegunn Choi | |
2015-03-22 | Code cleanup | Junegunn Choi | |