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 Dennis Sweeney
Recipients Dennis Sweeney, larry
Date 2020-07-21.10:00:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1595325636.21.0.753393963516.issue41356@roundup.psfhosted.org>
In-reply-to
Content
Benchmarked on my machine (Windows 10):

.\python.bat -m pyperf timeit -s "from collections import deque; x = [[], [1]] * 1_000_000" "deque(map(bool, x), maxlen=0)"
    
    --- Win32 build configuration ---
    Master:             105 ms +- 2 ms
    With this change:  88.2 ms +- 2.1 ms

    --- x64 build configuration ---
    Master:            80.2 ms +- 1.3 ms
    With this change:  74.2 ms +- 0.5 ms
History
Date User Action Args
2020-07-21 10:00:36Dennis Sweeneysetrecipients: + Dennis Sweeney, larry
2020-07-21 10:00:36Dennis Sweeneysetmessageid: <1595325636.21.0.753393963516.issue41356@roundup.psfhosted.org>
2020-07-21 10:00:36Dennis Sweeneylinkissue41356 messages
2020-07-21 10:00:36Dennis Sweeneycreate