<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 10 January 2014 01:04, Marco Leise <span dir="ltr"><<a href="mailto:Marco.Leise@gmx.de" target="_blank">Marco.Leise@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Am Fri, 10 Jan 2014 00:33:28 +1000<br>
schrieb Manu <<a href="mailto:turkeyman@gmail.com">turkeyman@gmail.com</a>>:<br>
<div class="im"><br>
> On 10 January 2014 00:19, Tobias Pankrath <<a href="mailto:tobias@pankrath.net">tobias@pankrath.net</a>> wrote:<br>
><br>
</div><div><div class="h5">> > On Thursday, 9 January 2014 at 14:08:02 UTC, Manu wrote:<br>
> ><br>
> >><br>
> >> Is that wrong? That seems to be how the docs suggest it should be used.<br>
> >><br>
> >><br>
> > --<br>
> > string s = find(retro("Hello"), "H").source;<br>
> > --<br>
> > Is that working?<br>
> ><br>
><br>
</div></div><div class="im">> If I have to type that, I'm going to write my own string library...<br>
> There's no argument where that can be considered superior to:<br>
> strrchr("Hello", 'H');<br>
<br>
</div>If you do let me know, we can merge the efforts.<br>
Coincidentally what I started uses your std.simd:<br>
<a href="http://code.dlang.org/packages/fast" target="_blank">http://code.dlang.org/packages/fast</a><br>
<a href="https://github.com/mleise/fast" target="_blank">https://github.com/mleise/fast</a><br>
<br>
I haven't pushed the latest changes which include updates to<br>
the latest D versions and switching between lookup tables and<br>
SSE3 for char in string search.<br>
<br>
The idea is to build a collection of the fastest versions of<br>
basic utility functions. No safety nets, no garbage collection.<br></blockquote><div><br></div><div>Awesome! Although it looks like you still have a lot of work ahead of you :)</div></div></div></div>