Slower than Python

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Fri Mar 1 15:07:45 PST 2013


On 3/1/13 5:47 PM, Steven Schveighoffer wrote:
> On Fri, 01 Mar 2013 17:35:04 -0500, Andrei Alexandrescu
> <SeeWebsiteForEmail at erdani.org> wrote:
>
>> On 3/1/13 5:31 PM, Steven Schveighoffer wrote:
>>> Phobos kind of refuses to treat strings like arrays of characters, it
>>> insists on decoding.
>>
>> There's no decoding in find and splitter as far as I remember.
>
> Looking at splitter, it uses skipOver to skip over the separator, and
> that seems to call R.front and R.popFront. Actually, it calls it for
> both the source string and the separator.

You may be looking at the wrong splitter overload.

Andrei


More information about the Digitalmars-d mailing list