For small apps, it would not make that much difference but for large apps with hundreds and thousands of records, make sure to apply the filter at the database level.