peco.peco/internal/util
Daisuke Maki 4b1dfa1c4d fix: fast-path StripANSISequence to skip regexp when no ESC byte
Benchmark (10k lines):
  plain text: 1023us -> 37us (-96%), 1.7MiB -> 0B (-100%), 30k -> 0 allocs
  95% plain:  1064us -> 162us (-85%), 1720KiB -> 63KiB (-96%), 30.5k -> 2k allocs
2026-02-22 00:26:02 +09:00
..
bench_test.go fix: fast-path StripANSISequence to skip regexp when no ESC byte 2026-02-22 00:26:02 +09:00
homedir_darwin.go eradicate fmt.Errorf 2016-06-18 17:40:33 +09:00
homedir_posix.go Methodically add function comments 2026-02-20 10:55:49 +09:00
homedir_windows.go argh, forgot to fix package name 2015-09-28 22:27:55 +09:00
shell_unix.go Methodically add function comments 2026-02-20 10:55:49 +09:00
shell_windows.go Check for far wider range of things in lint 2026-02-18 07:49:40 +09:00
tty_bsd.go style, minor tweaks 2026-02-18 09:46:54 +09:00
tty_posix.go Check for far wider range of things in lint 2026-02-18 07:49:40 +09:00
tty_windows.go Remove redundant err != nil in Windows syscall wrappers 2026-02-18 15:27:42 +09:00
util.go fix: fast-path StripANSISequence to skip regexp when no ESC byte 2026-02-22 00:26:02 +09:00
util_test.go Check for far wider range of things in lint 2026-02-18 07:49:40 +09:00