v0.4.2: increased the size of the renderedtext cache
This commit is contained in:
parent
6ed1ec2214
commit
b70349256d
|
@ -48,7 +48,7 @@ public class RenderedText extends Image {
|
||||||
private static LinkedHashMap<String, CachedText> textCache =
|
private static LinkedHashMap<String, CachedText> textCache =
|
||||||
new LinkedHashMap<String, CachedText>(700, 0.75f, true){
|
new LinkedHashMap<String, CachedText>(700, 0.75f, true){
|
||||||
private int cachedChars = 0;
|
private int cachedChars = 0;
|
||||||
private final int MAX_CACHED = 500;
|
private final int MAX_CACHED = 1000;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public CachedText put(String key, CachedText value) {
|
public CachedText put(String key, CachedText value) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user