summaryrefslogtreecommitdiff
path: root/opendc-workflow
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2021-09-30 12:22:43 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2021-10-03 17:17:39 +0200
commitc3fe047be5d0026b50874efc671de54f01b6d5ee (patch)
tree971a899b0f834958b49a1f919a0c2bd2798d82a4 /opendc-workflow
parent7b2d03add3170b9142bf42c5a64aaa263773caf7 (diff)
perf(simulator): Do not use set for tracking convergence
This change removes the use of a HashSet for tracking the flow connections that can converge. A HashSet requires an allocation for every addition, which caused a significant overhead. The new approach using an ArrayDeque should not allocate any memory.
Diffstat (limited to 'opendc-workflow')
0 files changed, 0 insertions, 0 deletions