Skip to content

Use spans for put string#603

Merged
RevenantX merged 1 commit intoRevenantX:masterfrom
Lacyway:put_string_optimizations
Mar 25, 2026
Merged

Use spans for put string#603
RevenantX merged 1 commit intoRevenantX:masterfrom
Lacyway:put_string_optimizations

Conversation

@Lacyway
Copy link
Copy Markdown
Contributor

@Lacyway Lacyway commented Mar 25, 2026

image Writes faster with no allocations when trimming a string, and removes double pass over the `string` when when not. All tests pass and verified that the trimming still works as intended.

@RevenantX RevenantX merged commit 2d5d107 into RevenantX:master Mar 25, 2026
1 check was pending
@Lacyway Lacyway deleted the put_string_optimizations branch March 25, 2026 20:51
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