<div dir="ltr">On Tue, Feb 17, 2015 at 10:50 PM, Anthony Walter <span dir="ltr"><<a href="mailto:sysrpl@gmail.com" target="_blank">sysrpl@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">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.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Here are copies of the relevant code: <a href="http://www.getlazarus.org/helpers/string/" target="_blank">http://www.getlazarus.org/helpers/string/</a></div></div></blockquote><div> </div><div> I see, you've implemented Boyer–Moore–Horspool algorithm for the string search. </div><div><br></div><div>Why don't you take part in patch-fest then? <a href="http://bugs.freepascal.org/view.php?id=26864">http://bugs.freepascal.org/view.php?id=26864</a></div><div><br></div></div></div></div>