FastAppender

Undocumented in source.

Constructors

this
this(size_t capacity)

Preallocate

this
this(I[] arr)

Start with a given buffer

Members

Functions

allocate
T[] allocate(size_t len)
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear()

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

get
I[] get()
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
void opOpAssign(U item)
Undocumented in source. Be warned that the author may not have intended to support it.
preallocate
void preallocate(size_t len)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(U items)
Undocumented in source. Be warned that the author may not have intended to support it.
uncheckedPut
void uncheckedPut(U items)

Unsafe. Use together with preallocate().

Properties

length
size_t length [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
length
size_t length [@property setter]

Does not resize. Use preallocate for that.

Templates

CanPutAll
template CanPutAll(U...)
Undocumented in source.

Meta