diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-04-12 21:21:50 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-04-12 21:21:50 +0200 |
commit | f97056b8d53b88ae5e669f97a3fdb2a2e5a1ac48 (patch) | |
tree | 2554cd321dfe1759159e523ea279e0f766108d0c /src | |
parent | fca4147beddcb354c60e38b6613c2fa2fa93f20e (diff) |
increased LruCache for unicode script detection
Diffstat (limited to '')
-rw-r--r-- | src/main/java/de/pixart/messenger/utils/IrregularUnicodeDetector.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/utils/IrregularUnicodeDetector.java b/src/main/java/de/pixart/messenger/utils/IrregularUnicodeDetector.java index 385137c7b..70e41231d 100644 --- a/src/main/java/de/pixart/messenger/utils/IrregularUnicodeDetector.java +++ b/src/main/java/de/pixart/messenger/utils/IrregularUnicodeDetector.java @@ -56,7 +56,7 @@ import rocks.xmpp.addr.Jid; public class IrregularUnicodeDetector { private static final Map<Character.UnicodeBlock, Character.UnicodeBlock> NORMALIZATION_MAP; - private static final LruCache<Jid, PatternTuple> CACHE = new LruCache<>(100); + private static final LruCache<Jid, PatternTuple> CACHE = new LruCache<>(4096); static { Map<Character.UnicodeBlock, Character.UnicodeBlock> temp = new HashMap<>(); |