public static class SwitchStrategy.BinaryStrategy extends SwitchStrategy
SwitchStrategy.BaseSwitchClosure, SwitchStrategy.BinaryStrategy, SwitchStrategy.RangesStrategy, SwitchStrategy.SequentialStrategykeyProbabilities| Constructor and Description |
|---|
BinaryStrategy(double[] keyProbabilities,
JavaConstant[] keyConstants) |
| Modifier and Type | Method and Description |
|---|---|
void |
run(org.graalvm.compiler.lir.SwitchStrategy.SwitchClosure closure) |
getAverageEffort, getBestStrategy, registerDefaultEffort, registerEffort, toStringpublic BinaryStrategy(double[] keyProbabilities,
JavaConstant[] keyConstants)
public void run(org.graalvm.compiler.lir.SwitchStrategy.SwitchClosure closure)
run in class SwitchStrategy