You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d68d02b
Browse filesBrowse the repository at this point in the historyBrowse files
vm: reuse cleared frame blocks and shorten interpreter hot paths
- `datastack` remembers the most recently popped frame block. `push_frame`
reports an exact LIFO reuse, and `setup_datastack_frame` then skips
zero-filling localsplus.
- Small-int loads push the context's cached int as a borrowed stack reference
instead of taking a new one.
- Calls to jitted functions go straight to `execute_call_vectorcall`.
- Binary-op specialization reads ints through the new `PyInt::try_to_i64_fast`
instead of the generic primitive conversion, and `try_to_bool` moves its
non-bool path into a `#[cold]` helper.
- Dict caches read an entry through a keys-version stamp
(`get_index_if_keys_version`) rather than an entry-index hint.
- Frame publishing caches a pointer to `ThreadSlot::top_iframe` in a
thread-local `Cell` instead of borrowing `CURRENT_THREAD_SLOT`.
0 commit comments