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