indigo.shared.QuickCache
See theQuickCache companion object
QuickCache is a handy way to avoid expensive re-calculation of data. It is a side-effecting arrangement that Indigo uses a lot internally, that can also be used by cautious game devs. Simple example:
given QuickCache[MyExpensiveObject] = QuickCache.empty
QuickCache("key")(obj)
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article