iopipe v0.0.4 - RingBuffers!
Dmitry Olshansky
dmitry.olsh at gmail.com
Sat May 12 12:45:16 UTC 2018
On Saturday, 12 May 2018 at 12:14:28 UTC, Steven Schveighoffer
wrote:
> On 5/11/18 5:42 PM, Joakim wrote:
>> On Friday, 11 May 2018 at 16:07:26 UTC, Steven Schveighoffer
>> wrote:
>>>[...]
>>
>> What stops you from downloading a linux release from here?
>>
>> https://github.com/ldc-developers/ldc/releases
>
> So I did that, it's not much faster, a few milliseconds. Still
> about half as fast as GNU grep.
>
> But I am not expecting any miracles here. GNU grep does pretty
> much everything it can to achieve performance -- including
> eschewing the standard library buffering system as I am doing.
> I can probably match the performance at some point, but I doubt
> it's worth worrying about. It's still really really fast
> without trying to do anything crazy.
>
I could offer a few tricks to fix that w/o getting too dirty. GNU
grep is fast, but std.regex is faster then that in raw speed on a
significant class of quite common patterns. But I loaded file at
once.
> I hope at some point, however, to work with Dmitry to add
> iopipe-based regex engine so we can see how much better we can
> make regex.
As such initiative goes it’s either now or never. Please get in
touch directly over Slack or smth, let’s make it roll. I wanted
to do grep-like utility since 2012. Now at long last we have all
the building blocks.
>
> -Steve
More information about the Digitalmars-d-announce
mailing list