Skip to content

Commit

Permalink
Get out of the way of the GC
Browse files Browse the repository at this point in the history
  • Loading branch information
j-fu committed Sep 17, 2024
1 parent a4a2049 commit cd24f34
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/vfvm_solver.jl
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,7 @@ function solve_step!(state,
values(residual))

values(solution) .-= damp * values(update)

# "incremental collection may only sweep so-called young objects"
GC.gc(false)


if state.system.is_linear
converged = true
break
Expand Down

0 comments on commit cd24f34

Please sign in to comment.