[issue23705] Speed-up deque.__contains__

2015-03-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks guys. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bu

[issue23705] Speed-up deque.__contains__

2015-03-20 Thread Roundup Robot
Roundup Robot added the comment: 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 -- nosy: +python-dev ___ Pyth

[issue23705] Speed-up deque.__contains__

2015-03-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: It would be nice to add a test for the RuntimeError case. -- nosy: +pitrou ___ Python tracker ___ __

[issue23705] Speed-up deque.__contains__

2015-03-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Except one line with dubious spacing the patch LGTM. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

[issue23705] Speed-up deque.__contains__

2015-03-19 Thread Raymond Hettinger
Changes by Raymond Hettinger : Added file: http://bugs.python.org/file38554/deque_contains_timings.txt ___ Python tracker ___ ___ Python-bugs-

[issue23705] Speed-up deque.__contains__

2015-03-19 Thread Raymond Hettinger
New submission from Raymond Hettinger: Help deques match the performance of lists for a __contains__ check. Comparative timings are attached. -- assignee: rhettinger components: Library (Lib) files: deque_contains0.diff keywords: patch messages: 238496 nosy: rhettinger priority: normal