SciML / SciML/JumpProcesses.jl
Optimization Ideas
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 150
- Forks
- 41
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 28
Description
Just like there is a list of SSAs to consider implementing (https://github.com/SciML/DiffEqJump.jl/issues/32), there are some optimizations of the existing SSAs to consider implementing. This issue will be the place to write them down so as not to forget. The possible optimizations so far are:
- Using 32-bit Floats in RSSA bracketing instead of 64-bit floats. The precision for brackets does not matter much, and using less memory will result in better performance.
- Using the macro
@simdin the loop where propensities are being re-evaluated after executing a reaction.
Other optimization ideas are welcome.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the RSSA bracketing implementation and the loop where propensities are re-evaluated after a reaction. Investigate the proposed 32-bit bracketing values and @simd optimization, then determine whether either change preserves existing behavior while improving performance. Done means implementing a specific optimization with evidence that the simulation behavior remains correct.
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