trixi-framework / trixi-framework/Trixi.jl

Replace `a += b` in "longer" computations by `a = a + b` to enable potential benefits from `@muladd`?

Open
#2,502 0 comments 0 reactions 0 assignees View on GitHub
discussion performance
Dominant language
Julia
Stars
731
Forks
167
Avg merge
2d 18h
Merged PRs (30d)
25

Description

See

https://github.com/trixi-framework/Trixi.jl/pull/2480#discussion_r2224531702

Contributor guide

Open the contributing guide

Research direction

Start with the discussion linked from PR #2480, especially the referenced review comment, to identify which “longer” computations are in scope. Locate those computations in the repository, replace only the relevant `a += b` forms, and consider the work complete when the intended cases consistently use `a = a + b` without changing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
performance
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.