Message80226
For the Fractions issue, consider adding an empty __slots__ declaration
to every level in numbers.py. That will preclude unintended dictionary
creation for anything inheriting from the numbers abcs.
We should also be an issue for the other abcs. The collections ABCs are
less affected because they are not as granular as number objects. So
their overall memory footprint only grows by a small percentage from the
inclusion of an instance dictionary. |
|
Date |
User |
Action |
Args |
2009-01-20 00:03:07 | rhettinger | set | recipients:
+ rhettinger, mark.dickinson, jyasskin, benjamin.peterson, Somelauw |
2009-01-20 00:03:07 | rhettinger | set | messageid: <1232409787.77.0.779452381686.issue4998@psf.upfronthosting.co.za> |
2009-01-20 00:03:07 | rhettinger | link | issue4998 messages |
2009-01-20 00:03:05 | rhettinger | create | |
|