Visitar URL original
gh-93382: Cache result of `PyCode_GetCode` in codeobject by Fidget-Spinner · Pull Request #93383 · python/cpython · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Misc/NEWS.d/next/Core and Builtins/2022-05-31-16-36-30.gh-issu…
…e-93382.Jf6gAj.rst

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
  • Loading branch information
Fidget-Spinner and kumaraditya303 authored Jun 3, 2022
commit 76ada157daf64390c9dbe3d3fe08cd8bcf773f62
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Speed up the ``PyCode_GetCode`` function which also improves accessing the ``co_code`` attribute in Python.
Speed up the :c:func:`PyCode_GetCode` function which also improves accessing the :attr:`~types.CodeType.co_code` attribute in Python.