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

refactor(span): all methods take owned Span #8297

Draft
wants to merge 1 commit into
base: 01-03-perf_span_align_span_same_as_usize_
Choose a base branch
from

Conversation

overlookmotel
Copy link
Contributor

@overlookmotel overlookmotel commented Jan 6, 2025

Span is Copy and 8 bytes. There is no point in the extra indirection of passing &Span to functions (&Span is also 8 bytes).

Copy link
Contributor Author

overlookmotel commented Jan 6, 2025

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions github-actions bot added A-linter Area - Linter A-parser Area - Parser A-semantic Area - Semantic C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior labels Jan 6, 2025
@overlookmotel overlookmotel marked this pull request as ready for review January 6, 2025 14:02
@overlookmotel overlookmotel marked this pull request as draft January 6, 2025 14:02
Copy link

codspeed-hq bot commented Jan 6, 2025

CodSpeed Performance Report

Merging #8297 will not alter performance

Comparing 01-04-refactor_span_all_methods_take_owned_span_ (fc19033) with 01-03-perf_span_align_span_same_as_usize_ (1b5a978)

Summary

✅ 29 untouched benchmarks

@overlookmotel overlookmotel force-pushed the 01-04-refactor_span_all_methods_take_owned_span_ branch from a4ab05c to fc19033 Compare January 6, 2025 16:24
@overlookmotel overlookmotel changed the base branch from main to 01-03-perf_span_align_span_same_as_usize_ January 6, 2025 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-linter Area - Linter A-parser Area - Parser A-semantic Area - Semantic C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant