Skip to content

Commit 2354e78

Browse files
Cut down locals and stack size
1 parent fbbac65 commit 2354e78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Include/internal/pycore_optimizer_types.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ extern "C" {
1010

1111
#include "pycore_uop.h" // UOP_MAX_TRACE_LENGTH
1212

13-
// Holds locals, stack, locals, stack ... co_consts (in that order)
14-
#define MAX_ABSTRACT_INTERP_SIZE 4096
13+
// Holds locals, stack, locals, stack ... (in that order)
14+
#define MAX_ABSTRACT_INTERP_SIZE 512
1515

1616
#define TY_ARENA_SIZE (UOP_MAX_TRACE_LENGTH * 5)
1717

0 commit comments

Comments
 (0)