investigate dropping FunctionWrappers

Open
#66 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Refactor
Clarity
Needs clarification
Activity status
Stale
Tech stack
julia
Domain
performance

Research direction

Reproduce the reported benchmark with stock Julia 1.1 on the 32^3 Cartesian-grid random walk, comparing Direct and DirectFW. Then inspect how non-Direct SSAs evaluate ConstantRateJumps when dependency-graph jumps are not known at compile time; done means establishing whether wrappers can be removed and documenting a concrete path forward.

Written by the indexing model from the issue text.

Description

In redoing benchmarks with stock Julia 1.1 I'm finding that on a Cartesian grid random walk simulation (32^3 mesh, so ~6*32^3 jumps) Direct consistently beats DirectFW. So it seems like Julia can now handle very deep recursion efficiently (how the jumps are evaluated to ensure type stability).

I'm not sure how to exploit this in methods using dependency graphs, where only a few jumps would be evaluated per time-step and we don't know them at compile time, but it would be great to be able to ditch function wrappers for ConstantRateJumps in the non-Direct SSAs.

Dominant language
Julia
Stars
150
Forks
41
Avg merge
1d 9h
Merged PRs (30d)
28

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SciML/JumpProcesses.jl

All issues in SciML/JumpProcesses.jl

Similar issues

More Julia issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.