scope mmo_parsePattern_cached. static Map #cache = synchronizedMRUCache(1000); static MMOPattern mmo_parsePattern_cached(S s) { MMOPattern tok = cache.get(s); if (tok == null) cache.put(s, tok = mmo_parsePattern(s)); ret tok; } end scope