-
-
Notifications
You must be signed in to change notification settings - Fork 106
Use istr as keys in CIMultiDict #1097
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
Merged
Changes from 28 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
347993e
Use istr as keys in CIMultiDict
asvetlov 155cde0
Fix C Extension
asvetlov 68c4124
Merge branch 'master' into istr-keys
asvetlov 69f6090
Make sure that identity is always exact PyUnicode
asvetlov 0133219
refactor
asvetlov 44d5f3e
rename
asvetlov ef2321d
try
asvetlov b2acfff
revert
asvetlov a84fc6b
step
asvetlov 8c049aa
reformat
asvetlov 9b3ca80
step
asvetlov 1d92aab
step
asvetlov f2e5d63
fix
asvetlov be780c4
zzz
asvetlov 962e8cf
fix
asvetlov 7424eec
step
asvetlov f03ce4a
Simplify check
asvetlov 97ee354
Optimize
asvetlov 8757960
optimize2
asvetlov 1f4a47c
Merge branch 'master' into istr-keys
asvetlov ae80eb4
step
asvetlov f89b667
fix
asvetlov 6917eb5
Add changelog
asvetlov b9d4434
Merge branch 'master' into istr-keys
asvetlov d7163d6
fix
asvetlov 1fa4b59
fix
asvetlov cdac1e0
reserve for extend
asvetlov 03e1a55
Merge branch 'master' into istr-keys
asvetlov 2e9d6e6
Update CHANGES/1097.bugfix
asvetlov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Rewritten :class:`multidict.CIMultiDict` and it proxy to always return | ||
:class:`multidict.istr` keys. ``istr`` is derived from :class:`str`, | ||
thus the change is backward compatible. | ||
|
||
The performance boost is about 15% for some operations for C Extension, | ||
pure Python implementation have got a visible (15% - 230%) speedup as well. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.