Skip to content

BREAKING: More Span/stackalloc optimizations - #1156

Merged
paulirwin merged 8 commits into
apache:masterfrom
paulirwin:feature/more-spans
Apr 11, 2026
Merged

BREAKING: More Span/stackalloc optimizations#1156
paulirwin merged 8 commits into
apache:masterfrom
paulirwin:feature/more-spans

Conversation

@paulirwin

Copy link
Copy Markdown
Contributor
  • You've read the Contributor Guide and Code of Conduct.
  • You've included unit or integration tests for your change, where applicable.
  • You've included inline docs for your change, where applicable.
  • There's an open issue for the PR that you are making. If you'd like to propose a change, please open an issue to discuss the change or find an existing issue.

More Span/stackalloc optimizations to reduce allocations.

Fixes (TBD)

Description

This replaces some array allocations with Spans on the stack where possible to reduce some allocations.

This is a breaking change because of the change to the API surface, although it's fairly minor and not likely to affect most users.

@paulirwin paulirwin added the notes:breaking-change Has changes that will break backward compatibility label Apr 25, 2025
@paulirwin
paulirwin requested a review from NightOwl888 April 25, 2025 02:02
@paulirwin
paulirwin force-pushed the feature/more-spans branch from 967f624 to 72e44f4 Compare April 11, 2026 03:04
@paulirwin
paulirwin marked this pull request as ready for review April 11, 2026 03:05
@paulirwin
paulirwin merged commit f623208 into apache:master Apr 11, 2026
211 checks passed
@paulirwin
paulirwin deleted the feature/more-spans branch April 11, 2026 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

notes:breaking-change Has changes that will break backward compatibility

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant