...
To address this problem, caching is used (https://en.wikipedia.org/wiki/Cache_(computing) )."Repeat" is a specific object, and under normal circumstances, due to software limitations, we cannot employ caching within "repeat." This is where "StaticParams" comes into play. StaticParams overrides this rule. The parameters written within StaticParams are computed, and their values are manually added to the cache. As a result, when attempting to access these parameters within "repeat," there is no need to reevaluate the parameters; their values are readily available in the cache.
Example:
|
To view this example in the library, see (https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&obj=objidro1flg1c11lprm05wr6kzo )
Parameters of Repeat Object
...