With @Lazersmoke's recent excellent work in reducing allocations (https://github.com/SunnySuite/Sunny.jl/pull/78), I think we should push it all the way and ensure through unit tests that sampling and dynamics never allocate. We're not there yet, so this PR is aspirational. Progress can be added as commits on the branch zero-alloc, and we can merge this PR when all tests pass.
With @Lazersmoke's recent excellent work in reducing allocations (https://github.com/SunnySuite/Sunny.jl/pull/78), I think we should push it all the way and ensure through unit tests that sampling and dynamics never allocate. We're not there yet, so this PR is aspirational. Progress can be added as commits on the branch
zero-alloc
, and we can merge this PR when all tests pass.For reference, here is how to view where allocations are happening: https://docs.julialang.org/en/v1/manual/profile/#Allocation-Profiler