Skip to content

BREAKING: More Span/stackalloc optimizations #1156

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

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

paulirwin
Copy link
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
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