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.
Created on 2015年03月19日 07:25 by rhettinger, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| deque_contains0.diff | rhettinger, 2015年03月19日 07:25 | Improve speed of a __contains__ test | review | |
| deque_contains_timings.txt | rhettinger, 2015年03月19日 07:25 | Comparative timings | ||
| Messages (5) | |||
|---|---|---|---|
| msg238496 - (view) | Author: Raymond Hettinger (rhettinger) * (Python committer) | Date: 2015年03月19日 07:25 | |
Help deques match the performance of lists for a __contains__ check. Comparative timings are attached. |
|||
| msg238709 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2015年03月20日 18:39 | |
Except one line with dubious spacing the patch LGTM. |
|||
| msg238717 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2015年03月20日 20:10 | |
It would be nice to add a test for the RuntimeError case. |
|||
| msg238737 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2015年03月20日 23:39 | |
New changeset 99eb196fb345 by Raymond Hettinger in branch 'default': Issue 23705: Improve the performance of __contains__ checks for deques. https://hg.python.org/cpython/rev/99eb196fb345 |
|||
| msg238738 - (view) | Author: Raymond Hettinger (rhettinger) * (Python committer) | Date: 2015年03月20日 23:39 | |
Thanks guys. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:14 | admin | set | github: 67893 |
| 2015年03月20日 23:39:51 | rhettinger | set | status: open -> closed resolution: fixed messages: + msg238738 |
| 2015年03月20日 23:39:18 | python-dev | set | nosy:
+ python-dev messages: + msg238737 |
| 2015年03月20日 20:10:47 | pitrou | set | nosy:
+ pitrou messages: + msg238717 |
| 2015年03月20日 18:39:15 | serhiy.storchaka | set | nosy:
+ serhiy.storchaka messages: + msg238709 |
| 2015年03月19日 07:25:42 | rhettinger | set | files: + deque_contains_timings.txt |
| 2015年03月19日 07:25:15 | rhettinger | create | |