[fpc-pascal] Record helpers on built in types?
Dmitry Boyarintsev
skalogryz.lists at gmail.com
Wed Feb 18 05:02:33 CET 2015
On Tue, Feb 17, 2015 at 10:50 PM, Anthony Walter <sysrpl at gmail.com> wrote:
> But if anyone wants to test my StrFindBuffer and StrFindBufferI to gauge
> their performance against similar RTL library routines, I believe you'll
> find they are significantly faster. As a consequence all other dependent
> functions (IndexOf, Match, Replace, Split, and more) would
> be significantly faster as well.
>
> Here are copies of the relevant code:
> http://www.getlazarus.org/helpers/string/
>
I see, you've implemented Boyer–Moore–Horspool algorithm for the string
search.
Why don't you take part in patch-fest then?
http://bugs.freepascal.org/view.php?id=26864
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20150217/e97286ff/attachment.html>
More information about the fpc-pascal
mailing list