Decided to re-write the cache functionality to make it more explicit and easier to follow what is happening & to prevent issues where Transformed features that were part of both the cached & non-cached part were being used as input.
Additionally also added reusable sub-methods in the FFM block that are always inlined & make the code dry-er.
This functionality was also already tested on a live system and didn't see any negative side effects both from performance and accuracy perspective.
Decided to re-write the cache functionality to make it more explicit and easier to follow what is happening & to prevent issues where Transformed features that were part of both the cached & non-cached part were being used as input.
Additionally also added reusable sub-methods in the FFM block that are always inlined & make the code dry-er.
This functionality was also already tested on a live system and didn't see any negative side effects both from performance and accuracy perspective.