phileas
phileas copied to clipboard
getFiltersForPolicy is a performance hotspot
phileas-benchmark profiling shows that significant CPU time can be spent in the getFiltersForPolicy method (even with the recent addition of caching there). It might be worth considering a second level of caching where the result lists themselves don't have to be created each time?