A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-September/056401.html below:

[Python-Dev] speeding up list append calls

[Python-Dev] speeding up list append calls [Python-Dev] speeding up list append callsFredrik Lundh fredrik at pythonware.com
Wed Sep 14 19:23:37 CEST 2005
Martin v. Löwis wrote:

> Alternatively, couldn't LIST_APPEND check that this really is a list,
> and, if it isn't, fall back to PyObject_CallMethod?

that's the obvious solution, of course.  cf. existing shortcuts:

$ grep -n INLINE Python-2.4.1/Python/ceval.c
1103:                           /* INLINE: int + int */
1133:                           /* INLINE: int - int */
1156:                           /* INLINE: list[int] */
1305:                           /* INLINE: int + int */
1335:                           /* INLINE: int - int */
1967:                           /* INLINE: cmp(int, int) */

</F> 



More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4