Should this work?

Manu turkeyman at gmail.com
Thu Jan 9 07:20:26 PST 2014


On 10 January 2014 01:04, Marco Leise <Marco.Leise at gmx.de> wrote:

> Am Fri, 10 Jan 2014 00:33:28 +1000
> schrieb Manu <turkeyman at gmail.com>:
>
> > On 10 January 2014 00:19, Tobias Pankrath <tobias at pankrath.net> 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 :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20140110/2564b40a/attachment-0001.html>


More information about the Digitalmars-d mailing list