use crate::utils::containers::InternCache; static SPECTRUM_CACHE: Lazy>> = Lazy::new(|| Mutex::new(HashMap::new())); fn get_spectrum_cache() -> &'static InternCache { SPECTRUM_CACHE.get_or_init(InternCache::new) }