Anyway, you can insert forced caching of an intermediate clip into the filter creation process
See "InternalCache" here:
http://avisynth.nl/index.php/Filter_SDK/Env_Invoke
(I think cache hints are not relevant in avs+, dunno)
Or actual usage
https://github.com/pinterf/AviSynthP...anar.cpp#L3205