org.scalajs.core.tools.io
Centralized Scala.js IR cache.
Caches all Scala.js IR used in a given JVM. It supports creating of multiple sub-caches (IRFileCache.Cache) that track individual file sets. The global cache is fully thread-safe. However, the sub-caches are not.
A cache to use for individual runs.
A cache to use for individual runs. Not threadsafe
Reset statistics
Create a new sub-cache.
Users should call Cache.free once they are done to allow for more aggressive GC.
Approximate statistics about the cache usage
Centralized Scala.js IR cache.
Caches all Scala.js IR used in a given JVM. It supports creating of multiple sub-caches (IRFileCache.Cache) that track individual file sets. The global cache is fully thread-safe. However, the sub-caches are not.