This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Search algorithms in __gnu_cxx::
> Yes. The proposal is not to replace std::search, etc.... but to
> provide extensions so that people who want to use them(if they know
> that a certain algo. would be better suited to a certain data set) can
> use them without having to write the code themselves every time.
Sounds like a good plan.
> > If I get your point, the above does not mean of course that those
> > algorithms are not suited for __gnu_cxx::__bm_search, and also
> > __gnu_cxx::__kmp_search, and whatelse... Extension implementations of
> > the best algorithms in:
> >
> > http://www-igm.univ-mlv.fr/~lecroq/string/
> >
> > are certainly welcome, in principle!
>
>
> If people here find this suggestion do able, please let me know, since
> I'm willing to take charge of it.
Sounds good to me. There are already some non-standard things in
include/ext/algorithm, but everything you mentioned seems like a good
addition.
best,
benjamin