mbeddr / mbeddr.core

The mbeddr core. An extensible C
Eclipse Public License 2.0
224 stars 77 forks source link

Provide helper classes for lazy execution of expensive operations #2424

Closed kbirken closed 2 months ago

kbirken commented 2 months ago

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.

kbirken commented 2 months ago

PR is merged to maintenance/mps20222, closing ticket.