speed up caching filter
tiny optimizations to film.rs