Skip to content

Commit

Permalink
Use METH_FASTCALL where it makes sense (#681)
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov authored Jan 22, 2022
1 parent 1aa1deb commit 3da0f79
Show file tree
Hide file tree
Showing 2 changed files with 241 additions and 59 deletions.
4 changes: 4 additions & 0 deletions CHANGES/681.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Use ``METH_FASTCALL`` where it makes sense.

``MultiDict.add()`` is 2.2 times faster now, ``CIMultiDict.add()`` is 1.5 times faster.
The same boost is applied to ``get*()``, ``setdefault()``, and ``pop*()`` methods.
Loading

0 comments on commit 3da0f79

Please sign in to comment.