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

2016-05-12 Thread Dmitry Olshansky via Digitalmars-d
On 12-May-2016 17:23, Marco Leise wrote: Am Wed, 11 May 2016 11:37:03 + schrieb Marc Schütz : On Monday, 9 May 2016 at 08:44:53 UTC, Dmitry Olshansky wrote: On 09-May-2016 02:38, Jon D wrote: [...] The only problem is that it should consider multi-codepoint

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

2016-05-12 Thread Marco Leise via Digitalmars-d
Am Wed, 11 May 2016 11:37:03 + schrieb Marc Schütz : > On Monday, 9 May 2016 at 08:44:53 UTC, Dmitry Olshansky wrote: > > On 09-May-2016 02:38, Jon D wrote: > >> [...] > > > > The only problem is that it should consider multi-codepoint > > replacements aka full-case

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

2016-05-11 Thread Marc Schütz via Digitalmars-d
On Monday, 9 May 2016 at 08:44:53 UTC, Dmitry Olshansky wrote: On 09-May-2016 02:38, Jon D wrote: [...] The only problem is that it should consider multi-codepoint replacements aka full-case folding in Unicode. Otherwise - go ahead and issue a pull request to add special case for < 0x80.

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

2016-05-09 Thread qznc via Digitalmars-d
On Sunday, 8 May 2016 at 23:38:31 UTC, Jon D wrote: * Performance varied widely between compilers, and for DMD, whether the -inline flag was included. The performance delta between asLowerCase and the mapAsLowerCase replacement was very dependent on these choices. Similarly, the delta between

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

2016-05-09 Thread Dmitry Olshansky via Digitalmars-d
On 09-May-2016 02:38, 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

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

2016-05-09 Thread Lionello Lunesu via Digitalmars-d
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

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

2016-05-08 Thread Jon D via Digitalmars-d
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.

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

2016-05-08 Thread Peter Häggman via Digitalmars-d
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

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

2016-05-08 Thread Jon D via Digitalmars-d
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. Background - Case conversion