New submission from Amaury Forgeot d'Arc: This is a reminder for the comment on top of ceval.c: /* XXX TO DO: 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 <[EMAIL PROTECTED]> <http://bugs.python.org/issue2015> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com