relative benefit of .reserve and .length

sigod via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Apr 29 03:10:26 PDT 2016


On Thursday, 28 April 2016 at 14:08:26 UTC, Steven Schveighoffer 
wrote:
> On 4/28/16 8:56 AM, Jay Norwood wrote:
>> [...]
>
> .reserve should make an improvement for large amount of 
> appending, since you pre-allocate the data.
>
> [...]

How about `assumeSafeAppend`? Does it have any positive impact on 
performance?


More information about the Digitalmars-d-learn mailing list