Re:Fix Boyer-Moore searcher with the Rytter correction
by battery_cowboy on Friday April 17, 2020 @10:58PM
(#22904979)
Why aren't there projects amongst the standard library maintainers to make some standard tests and maybe even APIs? That way you'd know that every library implements each algorithm correctly.
Re:Fix Boyer-Moore searcher with the Rytter correction
by StephanTLavavej on Sunday April 19, 2020 @01:49AM
(#22913853)
We actually do use libc++'s test suite, which has found several bugs, but not this one (apparently because they don't yet have std::boyer_moore_searcher).
And that’s the Curse Of The Standard Library Implementers: we’re the ones that have to implement Boyer-Moore, floating-point string conversions, etc. so everyone else can use them :-)