1. Mark Shannon
  2. hotpy_2

Source

hotpy_2 / Include / optimiser.h

Diff from to

File Include/optimiser.h

  • Ignore whitespace
 #include "trace_opcode.h"
 #include "structmember.h"
 
-#define HOTPY_CONTEXT_DEPTH 6
+#define HOTPY_CONTEXT_DEPTH 8
 
 typedef struct _hotpy_instruction_pointer {
     PyCodeObject *code;
     unsigned long off_trace;
     unsigned long trace_entries;
     unsigned long trace_transfers;
-    unsigned long mono_to_poly;
+    unsigned long mono_to_poly_exit;
     unsigned long polymorphic_cold_exits;
     unsigned long polymorphic_overflow_exits;
     unsigned long not_bool_exits;