-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Speed hack for function calls with named parameters #46144
Comments
This is a patch for SVN trunk which substantially speeds up function On a microbenchmark the speedup is quite distinctive: # With patch # Without patch |
Nice! Is this somehow related to bpo-1479611? The formatting of the code looks kinda strange. Have you mixed tabs and |
Sorry, my editor indents with spaces by default. Attaching a fixed patch No, it is independent from bpo-1479611 (and much simpler). |
Another quick test: # With patch # Without patch |
Nice idea, but why set the priority to high? I have no immediate time |
Here is a new patch against SVN trunk. Nothing changed, except that I |
On 2008-06-11 20:38, Antoine Pitrou wrote:
When changing parameters or other aspects of pybench tests, you *have* Thanks,Marc-Andre Lemburg Professional Python Services directly from the Source (#1, Jun 11 2008)
>>> Python/Zope Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
________________________________________________________________________
2008-07-07: EuroPython 2008, Vilnius, Lithuania 25 days to go :::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! ::::
|
On 2008-06-11 23:27, M.-A. Lemburg wrote:
BTW: It would probably be better to add a completely new test |
Attaching a version that's a little faster and cleaner with |
And here is a patch adding a new test in pybench as suggested by |
Georg, do you want to go ahead and apply this. |
Committed in r65240 (new pybench test) and r65241 (speedup patch). |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: