Compiler benchmarks for an alternative to std.uni.asLowerCase.

Lionello Lunesu via Digitalmars-d digitalmars-d at puremagic.com
Mon May 9 00:58:36 PDT 2016


On 9/5/2016 12:01, Jon D wrote:
> On Monday, 9 May 2016 at 00:15:03 UTC, Peter Häggman wrote:
>> On Sunday, 8 May 2016 at 23:38:31 UTC, Jon D wrote:
>>> I did a performance study on speeding up case conversion in
>>> std.uni.asLowerCase. Specifics for asLowerCase have been added to
>>> issue https://issues.dlang.org/show_bug.cgi?id=11229. Publishing here
>>> as some of the more general observations may be of wider interest.
>>>
>>> [...]
>>
>> Nice, it seems that you would have enough material to advocate a pull
>> request in phobos then ;)
>
> Thanks! I haven't yet taken the time to go through the 'becoming a
> contributor' steps, when I have the time I'll do that. In this case, I'd
> want to start by validating with the library designers that the approach
> makes sense. It by-passes what appears to a basic primitive,
> std.uni.toCaser. There may be reasons this is not desirable.

Less code, and faster, and using existing building blocks. Win, win, 
win, if you ask me!

+1


More information about the Digitalmars-d mailing list