Skip to content

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Mar 21, 2025

Fieldless enums should always be Copy because they're only 1 byte. There is no point in passing them by reference.

@github-actions github-actions bot added the C-performance Category - Solution not expected to change functional behavior, only performance label Mar 21, 2025
Copy link
Member Author

overlookmotel commented Mar 21, 2025


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.

@codspeed-hq
Copy link

codspeed-hq bot commented Mar 21, 2025

CodSpeed Instrumentation Performance Report

Merging #9937 will not alter performance

Comparing 03-21-perf_regular_expression_make_all_fieldless_enums_copy_ (a09bbcf) with main (9a36e67)

Summary

✅ 33 untouched benchmarks

@overlookmotel
Copy link
Member Author

Trivial change, so merging without review.

@graphite-app graphite-app bot added the 0-merge Merge with Graphite Merge Queue label Mar 21, 2025
@graphite-app
Copy link
Contributor

graphite-app bot commented Mar 21, 2025

Merge activity

Fieldless enums should always be `Copy` because they're only 1 byte. There is no point in passing them by reference.
@graphite-app graphite-app bot force-pushed the 03-21-perf_regular_expression_make_all_fieldless_enums_copy_ branch from ee27e81 to a09bbcf Compare March 21, 2025 05:15
@graphite-app graphite-app bot merged commit a09bbcf into main Mar 21, 2025
25 checks passed
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Mar 21, 2025
@graphite-app graphite-app bot deleted the 03-21-perf_regular_expression_make_all_fieldless_enums_copy_ branch March 21, 2025 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-performance Category - Solution not expected to change functional behavior, only performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants