Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
b7df42b4
Commit
b7df42b4
authored
Aug 19, 2013
by
Raymond Hettinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue 18774: Update news and whatsnew for the set optimizations
parent
88a4f982
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
Doc/whatsnew/3.4.rst
Doc/whatsnew/3.4.rst
+6
-0
Misc/NEWS
Misc/NEWS
+4
-0
No files found.
Doc/whatsnew/3.4.rst
View file @
b7df42b4
...
...
@@ -389,6 +389,12 @@ Major performance enhancements have been added:
* The UTF-32 decoder is now 3x to 4x faster.
* The cost of hash collisions for sets is now reduced. Each hash table
probe now checks a second key/hash pair for each cache line retrieved.
This exploits cache locality to make collision resolution less expensive.
(Contributed by Raymond Hetting in :issue"`18771`.)
Build and C API Changes
=======================
...
...
Misc/NEWS
View file @
b7df42b4
...
...
@@ -12,6 +12,10 @@ Core and Builtins
- Issue #18774: Remove last bits of GNU PTH thread code and thread_pth.h.
- Issue #18771: Add optimization to set object lookups to reduce the cost
of hash collisions. The core idea is to inspect a second key/hash pair
for each cache line retrieved.
- Issue #16105: When a signal handler fails to write to the file descriptor
registered with ``signal.set_wakeup_fd()``, report an exception instead
of ignoring the error.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment