Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering of SLine could be optimized #228

Open
sjakobi opened this issue Jun 11, 2022 · 0 comments
Open

Rendering of SLine could be optimized #228

sjakobi opened this issue Jun 11, 2022 · 0 comments

Comments

@sjakobi
Copy link
Collaborator

sjakobi commented Jun 11, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant