On 10 January 2014 01:04, Marco Leise <[email protected]> wrote: > Am Fri, 10 Jan 2014 00:33:28 +1000 > schrieb Manu <[email protected]>: > > > On 10 January 2014 00:19, Tobias Pankrath <[email protected]> wrote: > > > > > On Thursday, 9 January 2014 at 14:08:02 UTC, Manu wrote: > > > > > >> > > >> Is that wrong? That seems to be how the docs suggest it should be > used. > > >> > > >> > > > -- > > > string s = find(retro("Hello"), "H").source; > > > -- > > > Is that working? > > > > > > > If I have to type that, I'm going to write my own string library... > > There's no argument where that can be considered superior to: > > strrchr("Hello", 'H'); > > If you do let me know, we can merge the efforts. > Coincidentally what I started uses your std.simd: > http://code.dlang.org/packages/fast > https://github.com/mleise/fast > > I haven't pushed the latest changes which include updates to > the latest D versions and switching between lookup tables and > SSE3 for char in string search. > > The idea is to build a collection of the fastest versions of > basic utility functions. No safety nets, no garbage collection. >
Awesome! Although it looks like you still have a lot of work ahead of you :)
