[Python-Dev] speeding up list append calls
Fredrik Lundh
fredrik at pythonware.com
Wed Sep 14 19:23:37 CEST 2005
More information about the Python-Dev mailing list
Wed Sep 14 19:23:37 CEST 2005
- Previous message: [Python-Dev] speeding up list append calls
- Next message: [Python-Dev] speeding up list append calls
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Previous message: [Python-Dev] speeding up list append calls
- Next message: [Python-Dev] speeding up list append calls
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list