- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | serhiy.storchaka |
|---|---|
| Recipients | eric.snow, ezio.melotti, methane, rhettinger, serhiy.storchaka, vstinner |
| Date | 2016-09-21.16:32:00 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1474475520.9.0.548719567065.issue28239@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
I consider this issue as lying on the way to using the orderable of dict in OrderedDict implementation (the latter is very desirable because current OrderedDict implementation can be easily broken by using plain dict API). The main difficulty of implementing OrderedDict is the move_to_end() method (especially move_to_end(False)). In additional, the problem of holes is occurred for any often modified dictionary. Using ordered dict in lru_cache() give as good stress test for optimizing dict updating and resizing code. I don't suggest to change lru_cach() implementation just now. But after long testing ordered dicts during the developing stage of 3.7 (or even 3.8) we can make a decision. |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2016-09-21 16:32:00 | serhiy.storchaka | set | recipients: + serhiy.storchaka, rhettinger, vstinner, ezio.melotti, methane, eric.snow |
| 2016-09-21 16:32:00 | serhiy.storchaka | set | messageid: <1474475520.9.0.548719567065.issue28239@psf.upfronthosting.co.za> |
| 2016-09-21 16:32:00 | serhiy.storchaka | link | issue28239 messages |
| 2016-09-21 16:32:00 | serhiy.storchaka | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
