Commit d922c1f
committed
Allocate buckets dynamically to reduce stack usage in msd_D_*_adaptive()
We're allocating a large number of vector data structures on the stack
especially in the case of the adaptive algorithms. This is known to
cause problems if the runtime stack size is limited. Allocate the memory
dynamically to avoid this.1 parent 970aaba commit d922c1f
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
187 | 187 | | |
| 188 | + | |
188 | 189 | | |
189 | 190 | | |
190 | 191 | | |
| |||
0 commit comments