[New-bugs-announce] [issue39425] list.count performance regression

Dong-hee Na report at bugs.python.org
Wed Jan 22 12:16:03 EST 2020

New submission from Dong-hee Na <donghee.na92 at gmail.com>:

./python.exe -m pyperf timeit -s 'a = [1]*100'  'a.count(1)'

Current Master: Mean +- std dev: 1.05 us +- 0.03 us
My patch: Mean +- std dev: 423 ns +- 11 ns

This is the side-effect of pr 17022.

assignee: corona10
messages: 360488
nosy: corona10
priority: normal
severity: normal
status: open
title: list.count performance regression
type: performance
versions: Python 3.8, Python 3.9

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list