prettyprinter icon indicating copy to clipboard operation
prettyprinter copied to clipboard

Rendering of `SLine` could be optimized

Open sjakobi opened this issue 2 years ago • 0 comments

Currently this usually involves the allocation of a fresh Text containing multiple spaces via textSpaces. It would probably be better to use a slice of a pre-allocated buffer.

Maybe the newline could/should even be included as the first byte of that buffer?!

sjakobi avatar Jun 11 '22 16:06 sjakobi