- 06 Aug, 2013 1 commit
-
-
Raymond Hettinger authored
Letting the compiler decide how to optimize the multiply by five gives it the freedom to make better choices for the best technique for a given target machine. For example, GCC on x86_64 produces a little bit better code: Old-way (3 steps with a data dependency between each step): shrq $5, %r13 leaq 1(%rbx,%r13), %rax leaq (%rax,%rbx,4), %rbx New-way (3 steps with no dependency between the first two steps which can be run in parallel): leaq (%rbx,%rbx,4), %rax # i*5 shrq $5, %r13 # perturb >>= PERTURB_SHIFT leaq 1(%r13,%rax), %rbx # 1 + perturb + i*5
-
- 05 Aug, 2013 8 commits
-
-
Antoine Pitrou authored
-
Antoine Pitrou authored
Issue #17934: Add a clear() method to frame objects, to help clean up expensive details (local variables) and break reference cycles.
-
Antoine Pitrou authored
-
Gregory P. Smith authored
evil assert statements. * Add an additional assert to the new test_name_attribute test that actually confirms that a hash created using each h.name results in a new hash sharing the same name.
-
Mark Dickinson authored
-
Mark Dickinson authored
-
Mark Dickinson authored
-
Mark Dickinson authored
-
- 04 Aug, 2013 5 commits
-
-
R David Murray authored
Patch by Madison May.
-
Raymond Hettinger authored
-
Terry Jan Reedy authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
- 03 Aug, 2013 1 commit
-
-
Jason R. Coombs authored
Issue 18532: Added tests and documentation to formally specify the .name attribute on hashlib objects.
-
- 04 Aug, 2013 19 commits
-
-
R David Murray authored
-
Raymond Hettinger authored
-
Terry Jan Reedy authored
-
Alexander Belopolsky authored
-
Alexander Belopolsky authored
-
Raymond Hettinger authored
-
Alexander Belopolsky authored
-
Alexander Belopolsky authored
(Original patch by Mark Dickinson.)
-
Raymond Hettinger authored
-
Ethan Furman authored
-
Charles-François Natali authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Larry Hastings authored
-
Larry Hastings authored
-
Eli Bendersky authored
Based on patch by Aaron Oakley
-
Eli Bendersky authored
-
Eli Bendersky authored
-
Eli Bendersky authored
Thanks to Stefan Behnel for the report and proposed solution & test.
-
- 03 Aug, 2013 6 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Larry Hastings authored
-
Larry Hastings authored
-