May 28, 2015
On 5/28/15 2:05 PM, "Per =?UTF-8?B?Tm9yZGzDtnci?= <per.nordlow@gmail.com>" wrote:
>> How faster is bylinefast compared to byline (after the recent
>> improvements)? -- Andrei
>
> About 3 times in my measurements.

Cool! What are the incompatibilities keeping it from replacing byLine? -- Andrei
May 28, 2015
On Thursday, 28 May 2015 at 20:54:59 UTC, Andrei Alexandrescu wrote:
> Cool! What are the incompatibilities keeping it from replacing byLine? -- Andrei

Speed-up varies between 2.0 and 2.7 according to recent experiments done using new unittest at

https://github.com/nordlow/justd/blob/79cc8bf0766282368f05314d00566e7d234988bd/bylinefast.d#L207

which is currently deactivated.

It has worked flawlessly in my applications, so none AFAIK.

Note, that I'm not the original author, though, so credits should go to someone else.

I've only made some tweaks regarding indentation, symbol naming, @safe, @trusted and changing separator type from dchar to string and probably some more I've forgotten about.

BTW, Andrei, there's a new lazy range PR for Phobos on GitHub awaiting review... ;)
May 28, 2015
On Thursday, 28 May 2015 at 21:23:59 UTC, Per Nordlöw wrote:
> On Thursday, 28 May 2015 at 20:54:59 UTC, Andrei Alexandrescu wrote:
>> Cool! What are the incompatibilities keeping it from replacing byLine? -- Andrei
>
> Speed-up varies between 2.0 and 2.7 according to recent experiments done using new unittest at

BTW: I'm sitting on a very recently bought (fast) laptop with a fast SSD.
May 29, 2015
On Thursday, 28 May 2015 at 21:27:06 UTC, Per Nordlöw wrote:
>> Speed-up varies between 2.0 and 2.7 according to recent experiments done using new unittest at

The test file

http://downloads.dbpedia.org/3.9/en/instance_types_en.nt.bz2

contains 15.9 Mlines :)

/Per
May 29, 2015
On Thursday, 28 May 2015 at 21:23:59 UTC, Per Nordlöw wrote:
> https://github.com/nordlow/justd/blob/79cc8bf0766282368f05314d00566e7d234988bd/bylinefast.d#L207
>
> which is currently deactivated.
>
> It has worked flawlessly in my applications, so none AFAIK.

Could this replace the stuck https://github.com/D-Programming-Language/phobos/pull/2794?
May 29, 2015
On Friday, 29 May 2015 at 08:48:59 UTC, Martin Nowak wrote:
> https://github.com/D-Programming-Language/phobos/pull/2794?

That's a massive discussion. Is it possible to describe in shorter terms what the problem is and how it relates to byLine?

Please.
May 29, 2015
On Friday, 29 May 2015 at 09:17:17 UTC, Per Nordlöw wrote:
> That's a massive discussion. Is it possible to describe in shorter terms what the problem is and how it relates to byLine?

Would the problem be solved if `byLine` was changed to not use `readln()`?
June 01, 2015
On 5/28/15 2:23 PM, "Per =?UTF-8?B?Tm9yZGzDtnci?= <per.nordlow@gmail.com>" wrote:
> BTW, Andrei, there's a new lazy range PR for Phobos on GitHub awaiting
> review... ;)

Destroyed. -- Andrei
June 01, 2015
On Monday, 1 June 2015 at 03:49:39 UTC, Andrei Alexandrescu wrote:
> Destroyed. -- Andrei

Thx
1 2 3
Next ›   Last »