I'm using CoreData backed by SQLite and I'm trying to find the fastest way to exclude rows where the field AirDate ends with -00-00
I've noticed that
[NSPredicate predicateWithFormat:@"NOT AirDate CONTAINS %@", @"-00-00"]
is much faster than
[NSPredicate predicateWithFormat:@"NOT AirDate LIKE %@", @"*-00-00"]
Are there any other optimizations that I can make? Thanks!