scope mechList_opt_tlft_cached. static Map> #cache = ciMap(); static Lock #lock = lock(); static LS mechList_opt_tlft_cached(S name) { MechListDependentCache listCache; { lock lock; listCache = cache.get(name); if (listCache == null) cache.put(name, listCache = MechListDependentCache(name, f tlft)); } ret listCache!; } end scope