Ticket #4006 (reopened enhancement)
The triangles algorithm uses an extra array that is unneeded
|Reported by:||gemacke||Owned by:||gemacke|
The triangles algorithm currently creates two arrays to calculate the accumulation array of the work to be done: work and accum_work. This was presumably done because there were problems getting parallelization to happen if the the work array were not precalculated. However, it can be done in a single loop without the work array. This will reduce memory usage from 2n + 1 to n + 1 for this step.
- Status changed from accepted to closed
- Resolution set to fixed
- Status changed from closed to reopened
- Resolution fixed deleted