fzf/src/util
Junegunn Choi 2fe1e28220 Improvements in performance and memory usage
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-17 22:23:52 +09:00
..
atomicbool_test.go Reorganize source code 2015-01-12 12:56:17 +09:00
atomicbool.go Reorganize source code 2015-01-12 12:56:17 +09:00
eventbox_test.go Reorganize source code 2015-01-12 12:56:17 +09:00
eventbox.go Code cleanup 2015-03-22 16:05:54 +09:00
util_test.go Reorganize source code 2015-01-12 12:56:17 +09:00
util.go Improvements in performance and memory usage 2015-04-17 22:23:52 +09:00