Filter: simplify memorizeAll() method