Skip to content

bpo-45116 Fix another performance regression on Windows #28630

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

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
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
11 changes: 1 addition & 10 deletions Python/ceval.c
Original file line number Diff line number Diff line change
Expand Up @@ -1308,7 +1308,7 @@ eval_frame_handle_pending(PyThreadState *tstate)
}
#else
#define TARGET(op) op
#define DISPATCH() goto predispatch;
#define DISPATCH() goto tracing_dispatch;
#endif


Expand Down Expand Up @@ -1826,16 +1826,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, PyFrameObject *f, int throwflag)
}
}
#endif
#if USE_COMPUTED_GOTOS == 0
goto dispatch_opcode;

predispatch:
if (trace_info.cframe.use_tracing OR_DTRACE_LINE OR_LLTRACE) {
goto tracing_dispatch;
}
f->f_lasti = INSTR_OFFSET();
NEXTOPARG();
#endif
dispatch_opcode:
#ifdef DYNAMIC_EXECUTION_PROFILE
#ifdef DXPAIRS
Expand Down