[New-bugs-announce] [issue2015] Possible optimisations in kwargs handling

Amaury Forgeot d'Arc report at bugs.python.org
Wed Feb 6 01:45:15 CET 2008

New submission from Amaury Forgeot d'Arc:

This is a reminder for the comment on top of ceval.c:
   XXX speed up searching for keywords by using a dictionary
   XXX document it!

It was also suggested to disallow subclasses of str in variable names,
in order to optimize comparisons. This restriction is not necessary if a
dict lookup is used: comparisons are less frequent and will often
succeed when comparing pointers of interned strings.

messages: 62085
nosy: amaury.forgeotdarc
severity: normal
status: open
title: Possible optimisations in kwargs handling
type: rfe
versions: Python 2.6

Tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list