arashpayan/appirater — Issue #37: ratingConditionsHaveBeenMet - micro optimizations
Author: ewechsler
Created: 2012-03-01 03:58:38+00:00
State: open

It is better to move at least to checks: "// has the user already rated the app?" and "// has the user previously declined to rate this version of the app?" to method head. They are cheaper than time interval checks so after application is rated (or rating was declined by user) the check won't waste the processor time that much as creating NSDate and NSTimeInterval objects.