We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d54d87 commit a4e666dCopy full SHA for a4e666d
Python/optimizer.c
@@ -561,10 +561,10 @@ translate_bytecode_to_trace(
561
_Py_CODEUNIT *initial_instr = instr;
562
int trace_length = 0;
563
/*
564
- * Assumption: 67% reserved for trace, 33% for exit stubs
+ * Assumption: 80% reserved for trace, 20% for exit stubs
565
* TODO: Compute the required number of exit stubs dynamically
566
*/
567
- int max_exit_stubs = (buffer_size * 33) / 100; // 33% for exit stubs
+ int max_exit_stubs = (buffer_size * 20) / 100; // 20% for exit stubs
568
int max_length = buffer_size - 2 - max_exit_stubs;
569
struct {
570
PyFunctionObject *func;
0 commit comments