Message353978
We should definitely revisit the over-allocation strategy. I last worked on the existing strategy back in 2004. Since then, the weighting of the speed/space trade-off considerations have changed.
We need to keep the amortized O(1) append() behavior, but possibly we would benefit from more over-allocation and fewer resizes. Also, we should look at the interaction with the small object allocator to see if its design is causing realloc() to frequently have to move data rather than extending in place. |
|
Date |
User |
Action |
Args |
2019-10-04 23:08:21 | rhettinger | set | recipients:
+ rhettinger, tim.peters, serhiy.storchaka, brandtbucher |
2019-10-04 23:08:21 | rhettinger | set | messageid: <1570230501.37.0.54198702565.issue38373@roundup.psfhosted.org> |
2019-10-04 23:08:21 | rhettinger | link | issue38373 messages |
2019-10-04 23:08:21 | rhettinger | create | |
|