Skip to content

Commit c5f0e7e

Browse files
committed
reduce size of inline caches
1 parent 58bab44 commit c5f0e7e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/runtime/PythonOptions.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ private PythonOptions() {
6262
public static final OptionKey<Boolean> IntrinsifyBuiltinCalls = new OptionKey<>(true);
6363

6464
@Option(category = OptionCategory.DEBUG, help = "") //
65-
public static final OptionKey<Integer> AttributeAccessInlineCacheMaxDepth = new OptionKey<>(20);
65+
public static final OptionKey<Integer> AttributeAccessInlineCacheMaxDepth = new OptionKey<>(4);
6666

6767
@Option(category = OptionCategory.DEBUG, help = "") //
68-
public static final OptionKey<Integer> CallSiteInlineCacheMaxDepth = new OptionKey<>(20);
68+
public static final OptionKey<Integer> CallSiteInlineCacheMaxDepth = new OptionKey<>(4);
6969

7070
@Option(category = OptionCategory.DEBUG, help = "") //
7171
public static final OptionKey<Integer> VariableArgumentReadUnrollingLimit = new OptionKey<>(5);
@@ -100,8 +100,8 @@ private PythonOptions() {
100100
@Option(category = OptionCategory.USER, help = "") //
101101
public static final OptionKey<Boolean> InspectFlag = new OptionKey<>(false);
102102

103-
@Option(category = OptionCategory.USER, help = "Remove assert statements and any code conditional on the value of __debug__.") public static final OptionKey<Boolean> PythonOptimizeFlag = new OptionKey<>(
104-
false);
103+
@Option(category = OptionCategory.USER, help = "Remove assert statements and any code conditional on the value of __debug__.") //
104+
public static final OptionKey<Boolean> PythonOptimizeFlag = new OptionKey<>(false);
105105

106106
@Option(category = OptionCategory.DEBUG, help = "Turn on verbose mode") //
107107
public static final OptionKey<Boolean> VerboseFlag = new OptionKey<>(false);

0 commit comments

Comments
 (0)