Message250905
_collections sounds cool, but the flip side is any python without the C implemntation would still have the slower startup, right?
No, I don't have measurements -- just that I have heard importing collections can have an effect on startup time.
Of course, it's only a cost you pay once, so maybe it's not a big deal.
On the other hand, I could make __members__ a caching property that doesn't import OrderedDict until it is used, and not use it internally -- and I can't think of any reason why the stdlib would need to access __members__ itself. |
|
Date |
User |
Action |
Args |
2015-09-17 17:55:40 | ethan.furman | set | recipients:
+ ethan.furman, barry, rhettinger, vstinner, r.david.murray, eli.bendersky, eric.snow, serhiy.storchaka |
2015-09-17 17:55:40 | ethan.furman | set | messageid: <1442512540.36.0.175701198752.issue25147@psf.upfronthosting.co.za> |
2015-09-17 17:55:40 | ethan.furman | link | issue25147 messages |
2015-09-17 17:55:40 | ethan.furman | create | |
|