For expensive operations in baselanguage code, it is often required (due to performance reasons) to delay expensive operations until the result is actually needed for the first time. There is a pattern for this using the JDK Supplier<T> interface. We should provide this infrastructure in mpsutil so we can use it in other platform components of mbeddr or in IETS3.
For expensive operations in baselanguage code, it is often required (due to performance reasons) to delay expensive operations until the result is actually needed for the first time. There is a pattern for this using the JDK
Supplier<T>
interface. We should provide this infrastructure inmpsutil
so we can use it in other platform components of mbeddr or in IETS3.