mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
Increase upper complexity threshold for inlining
This commit is contained in:
parent
a433ca9fe5
commit
6695103f49
|
@ -647,7 +647,7 @@ public class TeaVM implements TeaVMHost, ServiceRepository {
|
||||||
|
|
||||||
InliningStrategy inliningStrategy;
|
InliningStrategy inliningStrategy;
|
||||||
if (optimizationLevel == TeaVMOptimizationLevel.FULL) {
|
if (optimizationLevel == TeaVMOptimizationLevel.FULL) {
|
||||||
inliningStrategy = new DefaultInliningStrategy(20, 7, 300, false);
|
inliningStrategy = new DefaultInliningStrategy(20, 7, 3000, false);
|
||||||
} else {
|
} else {
|
||||||
inliningStrategy = new DefaultInliningStrategy(100, 7, 300, true);
|
inliningStrategy = new DefaultInliningStrategy(100, 7, 300, true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user