diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-09-30 12:22:43 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-10-03 17:17:39 +0200 |
| commit | c3fe047be5d0026b50874efc671de54f01b6d5ee (patch) | |
| tree | 971a899b0f834958b49a1f919a0c2bd2798d82a4 /opendc-simulator/opendc-simulator-compute | |
| parent | 7b2d03add3170b9142bf42c5a64aaa263773caf7 (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-simulator/opendc-simulator-compute')
0 files changed, 0 insertions, 0 deletions
