new Type[count] takes too much?

Jonathan M Davis jmdavisProg at gmx.com
Fri Nov 1 02:05:46 PDT 2013


On Friday, November 01, 2013 01:16:53 Namespace wrote:
> Currently Appender isn't more performant than built-in arrays. ;)

If Appender is not more performant for appending than just appending to a 
naked array, then something is very wrong with Appender, because it's whole 
job is to make sure that it calls all of the appropriate functions on its 
internal array which it needs to in order to make appending efficient (e.g. 
assumeSafeAppend).

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list