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
When entering a Python function we need to check for tracing/profiling and check to see if the function needs to be quickened.
We should be able to eliminate these checks for calls in most cases by:
Adding a START_FUNCTION instruction which does the above checks.
Quickening the START_FUNCTION to a NOP.
When specializing Python-to-Python calls, set f_lasti to 0 not -1, thus skipping the entry sequence entirely.
When exiting a function, we still need to check for tracing and profiling. This can be eliminated by adding a RETURN_VALUE_QUICK bytecode that skips the checks.