FastAppender

Constructors

this
this(size_t capacity)

Preallocate

this
this(I[] arr)

Start with a given buffer

Members

Functions

clear
void clear()

Effectively empties the data, but preserves the storage for reuse. Same as setting length to 0.

uncheckedPut
void uncheckedPut(U items)

Unsafe. Use together with preallocate().

Properties

length
size_t length [@property setter]

Does not resize. Use preallocate for that.

Meta