Message412024
Minor nit: I think swaptimize() should check the for PyMem_Malloc returning NULL here.
// Create an array with elements {0, 1, 2, ..., depth - 1}:
int *stack = PyMem_Malloc(depth * sizeof(int));
for (int i = 0; i < depth; i++) {
stack[i] = i;
} |
|
Date |
User |
Action |
Args |
2022-01-28 18:47:41 | Dennis Sweeney | set | recipients:
+ Dennis Sweeney, barry, Mark.Shannon, brandtbucher, kj |
2022-01-28 18:47:41 | Dennis Sweeney | set | messageid: <1643395661.03.0.259438481595.issue46528@roundup.psfhosted.org> |
2022-01-28 18:47:41 | Dennis Sweeney | link | issue46528 messages |
2022-01-28 18:47:40 | Dennis Sweeney | create | |
|