Slower than Python

Zach the Mystic reachBUTMINUSTHISzach at gOOGLYmail.com
Mon Mar 4 11:56:25 PST 2013


On Saturday, 2 March 2013 at 17:20:23 UTC, Andrei Alexandrescu 
wrote:
> On 3/1/13 6:26 PM, Steven Schveighoffer wrote:
>> On Fri, 01 Mar 2013 18:22:54 -0500, Steven Schveighoffer
>> <schveiguy at yahoo.com> wrote:
>>
>>> So it's just pure heuristics. Not hard to see how that would 
>>> affect a
>>> 10 million cycle program.
>>>
>>> We may be able to create a string-specific version of 
>>> splitter that
>>> would take advantage of the representation.
>>
>> Just found a disturbing artifact: splitter(message, '\n') is 
>> more than
>> twice as slow as splitter(message, "\n")
>>
>> -Steve
>
> That is a problem. Could you please file a but report?
>
> Thanks,
>
> Andrei

I would have filed a bug report, but I was WAY too busy.


More information about the Digitalmars-d mailing list