Slower than Python

Jacob Carlborg doob at me.com
Sat Mar 2 08:12:32 PST 2013


On 2013-03-01 23:31, Steven Schveighoffer wrote:

> Phobos kind of refuses to treat strings like arrays of characters, it
> insists on decoding.
>
> With DMD and a hand-written splitter, it takes 6 seconds instead of 10
> on my system (64-bit macosx).

If you need to write a custom splitter to get acceptable performance 
then it sounds to me that D or Phobos have failed.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list