haskell-prettyprinter / haskell-prettyprinter/prettyprinter

Rendering of `SLine` could be optimized

Open
#228 0 comments 0 reactions 0 assignees View on GitHub
Performance
Dominant language
Haskell
Stars
309
Forks
43
Avg merge
21h 25m
Merged PRs (30d)
1

Description

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?!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.