[pypy-dev] [pypy-commit] pypy default: Unroll list.count() when the list is virtual or very small and constant lenght
Amaury Forgeot d'Arc
amauryfa at gmail.com
Fri Aug 30 13:58:01 CEST 2013
2013/8/30 Carl Friedrich Bolz <cfbolz at gmx.de>
> Hi Alex,
>
> please revert this change, it can lead to combinatorial explosion: it
> can give a bridge per pattern of where in the list the object is found.
>
Doesn't list.count() traverse all the list in all cases?
--
Amaury Forgeot d'Arc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20130830/5ab1ed08/attachment.html>
More information about the pypy-dev
mailing list