NStack icon indicating copy to clipboard operation
NStack copied to clipboard

String concatenation with fewer allocations

Open Therzok opened this issue 8 years ago • 0 comments

ustring design is amazing because it allows you to bring your own string. That said, the default stack should at least contain an implementation that does allocation-less string concatenation by holding a chain of ustrings internally.

class ChainUString : ustring {
    ustring this;
    ustring next;
}

Therzok avatar Jun 03 '17 01:06 Therzok