freebsd grep 遅い

I was about to open a new PR, but I realized the problem
has already been reported, so I'm commenting here.

My particular issue: fgrep -i is terribly slow on 13.0.

...

Even in 12.3-STABLE, it was a bsdgrep issue :)

> /usr/bin/time -l cat access_log.txt | /usr/bin/time -l grep -F -v -f exclude_ips.txt > output.log

        0.45 real         0.00 user         0.00 sys
(omitted)
        0.46 real         0.39 user         0.06 sys
(omitted)
> /usr/bin/time -l cat access_log.txt | /usr/bin/time -l bsdgrep -F -v -f exclude_ips.txt > output.log

      377.78 real         0.00 user         0.00 sys
(omitted)
      385.78 real       385.47 user         0.11 sys
(omitted)

254763 – grep very slow with 13.0-RC4

-i の問題、bsdgrepの問題があるようだ

FreeBSD 13.3-RELEASE-p3 で確認