Skip to content

Type instability (allocations) regression in Julia v1.10-alpha1 #50562

Closed

Description

We have some code in Trixi.jl that checks

if :i_backward in secondary_indices

where, secondary_indices is a tuple of Symbols, see https://github.com/trixi-framework/Trixi.jl/blob/07981c3e50943a9bdb1a845f918a4e8831714338/src/solvers/dgsem_p4est/dg_2d.jl#L148

We observed a significantly increased amount of allocations when checking CI with Julia v1.10.0-alpha1 in trixi-framework/Trixi.jl#1562. Locally, I checked that the allocations are gone when modifying the code above to

if any(==(:i_backward), secondary_indices)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

performanceMust go fasterregressionRegression in behavior compared to a previous version

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions