perf(allocator): type-erase RawVec::finish_grow inner function#18175
perf(allocator): type-erase RawVec::finish_grow inner function#18175graphite-app[bot] merged 1 commit intomainfrom
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
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. |
Merging this PR will not alter performance
Comparing Footnotes
|
Merge activity
|
Remove the type parameter T from the inner grow function since it's immediately cast to u8 anyway. This reduces monomorphization from 37 copies to 1, saving ~5,500 instructions of code bloat. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
e041bb8 to
08da7bd
Compare
ac412b3 to
8da684e
Compare

Remove the type parameter T from the inner grow function since it's
immediately cast to u8 anyway. This reduces monomorphization from 37
copies to 1, saving ~5,500 instructions of code bloat.
Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com