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

Inline rotate_elastic_stress #84

Merged
merged 1 commit into from
Apr 6, 2023
Merged

Inline rotate_elastic_stress #84

merged 1 commit into from
Apr 6, 2023

Conversation

albert-de-montserrat
Copy link
Member

Missing inline improves performance by x2

julia> @btime rotate_elastic_stress($ω, $τ, $dt)  
  10.200 ns (0 allocations: 0 bytes) #not inlined
(1.0, 1.0, 0.0)

julia> @btime rotate_elastic_stress($ω, $τ, $dt)   # inlined
  4.600 ns (0 allocations: 0 bytes)
(1.0, 1.0, 0.0)

@albert-de-montserrat albert-de-montserrat merged commit c4bef51 into main Apr 6, 2023
@albert-de-montserrat albert-de-montserrat deleted the adm-quickfix branch May 3, 2023 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant