How is std.regex.replaceAllInto more efficient?
Dmitry Olshansky via Digitalmars-d
digitalmars-d at puremagic.com
Fri Oct 16 09:02:15 PDT 2015
On 16-Oct-2015 18:23, Shriramana Sharma wrote:
> Dmitry Olshansky wrote:
>
>> No. Conceptually replace does replaceInto but creates a new appender
>> each time. This is the overhead replaceInto means to avoid.
>
> That's much clear now, thanks!
>
Feel free to improve on the examples, I'd gladly pull such patches.
--
Dmitry Olshansky
More information about the Digitalmars-d
mailing list