Slower than Python

Steven Schveighoffer schveiguy at yahoo.com
Fri Mar 1 17:29:12 PST 2013


On Fri, 01 Mar 2013 20:05:34 -0500, cvk012c  
<cvk012c at motorolasolutions.com> wrote:

> In my latest version of D script I didn't use splitter at all. I used  
> string specific indexOf function. Still result is very bad. For text  
> based protocols, such as SIP, performance of string manipulating  
> functions is very important. Unfortunately, looks like it is not D  
> strongest point at this time.

indexOf uses the same mechanism as splitter to find the separators.  If it  
doesn't improve anything, I'd say that is where the problem lies  
(std.algorithm.find).

-Steve


More information about the Digitalmars-d mailing list