Skip to content

Use cached indentation strings in render queue#801

Merged
reese merged 1 commit intotrunkfrom
reese-indent-alloc
Jan 18, 2026
Merged

Use cached indentation strings in render queue#801
reese merged 1 commit intotrunkfrom
reese-indent-alloc

Conversation

@reese
Copy link
Collaborator

@reese reese commented Jan 18, 2026

In #734, I added a helper that lets us create indentation &str by slicing a static string instead of allocating all the time. This applies that to a few more places in the render queue that were still constructing indentation on-the-fly and allocating.

@reese reese merged commit d393eb7 into trunk Jan 18, 2026
8 checks passed
@reese reese deleted the reese-indent-alloc branch January 18, 2026 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants