Skip to content

Conversation

gbaraldi
Copy link
Member

We may want to move this changes to base proper.
@LilithHafner should sort functions just always specialize on the by/lt params? It currently sometimes relies on inlining for good performance

@topolarity topolarity added backport 1.12 Change should be backported to release-1.12 trimming Issues with trimming functionality or PR's relevant to its performance/functionality labels Aug 15, 2025
gbaraldi and others added 2 commits August 15, 2025 14:00
Allows `eachindex(A::Vector{Float64}, B::Vector{Float64})` to be
`--trim`-compatible.
@LilithHafner
Copy link
Member

Sounds good to include in Base. @gbaraldi, would you share an example of one of the searchsorted functions having poor performance when not inlined? (feel free to add @noinline statements if necessary)

@gbaraldi
Copy link
Member Author

It's not even poor performance. It's just not typestable if not inlined

@KristofferC KristofferC mentioned this pull request Aug 18, 2025
38 tasks
@topolarity
Copy link
Member

Merging this for now, but I will greatly appreciate any follow-up to move these changes to Base instead 🙂

@topolarity topolarity merged commit cd44680 into master Aug 18, 2025
7 checks passed
@topolarity topolarity deleted the gb/juliac branch August 18, 2025 13:48
topolarity added a commit that referenced this pull request Aug 18, 2025
…lgebra (#59299)

We may want to move this changes to base proper.
@LilithHafner should sort functions just always specialize on the
`by`/`lt` params? It currently sometimes relies on inlining for good
performance

---------

Co-authored-by: Cody Tapscott <[email protected]>
Co-authored-by: Cody Tapscott <[email protected]>
@KristofferC KristofferC removed the backport 1.12 Change should be backported to release-1.12 label Aug 19, 2025
KristofferC pushed a commit that referenced this pull request Sep 5, 2025
…lgebra (#59299)

We may want to move this changes to base proper.
@LilithHafner should sort functions just always specialize on the
`by`/`lt` params? It currently sometimes relies on inlining for good
performance

---------

Co-authored-by: Cody Tapscott <[email protected]>
Co-authored-by: Cody Tapscott <[email protected]>
KristofferC pushed a commit that referenced this pull request Sep 15, 2025
…lgebra (#59299)

We may want to move this changes to base proper.
@LilithHafner should sort functions just always specialize on the
`by`/`lt` params? It currently sometimes relies on inlining for good
performance

---------

Co-authored-by: Cody Tapscott <[email protected]>
Co-authored-by: Cody Tapscott <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

trimming Issues with trimming functionality or PR's relevant to its performance/functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants