This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2008年02月06日 00:45 by amaury.forgeotdarc, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Messages (3) | |||
|---|---|---|---|
| msg62085 - (view) | Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) | Date: 2008年02月06日 00:45 | |
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. |
|||
| msg62267 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2008年02月11日 00:40 | |
Amaury, you may take a look at the patch in issue #1819. Also, dict lookups have a big overhead compared to raw pointer compares, I'm not sure naively converting all kwargs handling to dict lookups would make things faster. |
|||
| msg98083 - (view) | Author: Brian Curtin (brian.curtin) * (Python committer) | Date: 2010年01月20日 16:14 | |
This was handled in r65241 as a result of #1819. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:30 | admin | set | github: 46299 |
| 2010年01月20日 16:14:22 | brian.curtin | set | status: open -> closed superseder: Speed hack for function calls with named parameters nosy: + brian.curtin messages: + msg98083 resolution: fixed stage: resolved |
| 2008年02月11日 00:40:19 | pitrou | set | nosy:
+ pitrou messages: + msg62267 |
| 2008年02月06日 12:06:30 | christian.heimes | set | priority: normal components: + Interpreter Core |
| 2008年02月06日 00:45:14 | amaury.forgeotdarc | create | |