Slower than Python

Steven Schveighoffer schveiguy at yahoo.com
Fri Mar 1 15:26:45 PST 2013


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


More information about the Digitalmars-d mailing list