public enum OptimizationLevel extends Enum<OptimizationLevel>
Note that memory optimizations lead to reduced startup times and moderate speed, where speed optimizations lead to higher memory consumption and increased startup times. The speed optimization levels are especially suited for server environments.
Enum Constant and Description |
---|
DEFAULT
Optimizes the arithmetical routines so that a good speed level is achieved
and the memory consumption is kept moderate.
|
FULL_SPEED
Aggressively optimizes the arithmetical routines for best speed using a
large amount of memory.
|
IMPROVED_SPEED
Aggressively optimizes the arithmetical routines for speed using a large
amount of memory.
|
LIMITED_MEMORY
Optimizes the arithmetical routines to save memory.
|
MEMORY
Optimizes the arithmetical routines so that a reasonable speed level is
achieved and the memory consumption is kept low.
|
SPEED
Optimizes the arithmetical routines for speed using a larger amount of
memory.
|
Modifier and Type | Method and Description |
---|---|
int |
getW()
Deprecated.
|
static OptimizationLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OptimizationLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OptimizationLevel LIMITED_MEMORY
public static final OptimizationLevel MEMORY
public static final OptimizationLevel DEFAULT
public static final OptimizationLevel SPEED
public static final OptimizationLevel IMPROVED_SPEED
public static final OptimizationLevel FULL_SPEED
public static OptimizationLevel[] values()
for (OptimizationLevel c : OptimizationLevel.values()) System.out.println(c);
public static OptimizationLevel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null@Deprecated public int getW()
Copyright © 2011–2022 Stiftung SIC. All rights reserved.