Commit graph

18 commits

Author SHA1 Message Date
Daisuke Maki 4b6baa3751 fix: in-place mergeMatches to avoid per-merge heap allocation
Benchmark (10k lines, overlapping matches):
  47.4ms -> 42.8ms (-10%), 27.3MiB -> 21.3MiB (-22%), 861k -> 471k allocs (-45%)
2026-02-22 00:26:06 +09:00
Daisuke Maki 8569cbd5bf appease linter 2026-02-21 22:18:04 +09:00
Daisuke Maki 40ac45f94d Add tests for matching over color boundaries (me being paranoid) 2026-02-21 21:30:18 +09:00
Daisuke Maki 8c4db9e026 convert t.Errorf/t.Fatal to testify/require 2026-02-21 07:58:26 +09:00
lestrrat e09776384f
Merge pull request #696 from peco/fix-filter-dedup-cancellation
Extract checkCancelled helper for filter loops
2026-02-18 14:51:40 +09:00
lestrrat 441feb59a9
Merge pull request #698 from peco/fix-assert-to-require
Replace testify/assert with testify/require
2026-02-18 14:49:14 +09:00
Daisuke Maki d1e5b18232 Replace testify/assert with testify/require 2026-02-18 14:46:06 +09:00
Daisuke Maki 1e90260188 Extract checkCancelled helper for filter loops 2026-02-18 14:46:05 +09:00
Daisuke Maki 0d55ffa4ae Extract isExcluded helper for negative term check 2026-02-18 14:46:04 +09:00
Daisuke Maki 46331edcfd Check for far wider range of things in lint 2026-02-18 07:49:40 +09:00
Daisuke Maki f5f6262d82 use types in pipelines 2026-02-16 23:51:36 +09:00
Daisuke Maki 49f7153598 Add ANSI color support 2026-02-16 20:06:53 +09:00
Daisuke Maki 87ce6ab7cb Negative filters 2026-02-16 14:31:16 +09:00
Takumi Sueda 8c3265f159 Add FuzzyLongest filter 2023-03-08 23:33:08 +09:00
Daisuke Maki 6d5a2065a2 spelling 2017-01-09 19:07:34 +09:00
Daisuke Maki 47be5c7c85 Integrate ExternalCommand into the new format 2016-12-14 14:59:38 +09:00
Daisuke Maki 80c7cde206 what mattn wishes is my command 2016-12-14 12:19:28 +09:00
Daisuke Maki 61b5d22fb8 Move stuff around for better code organization 2016-12-14 11:00:22 +09:00
Renamed from filter_test.go (Browse further)