From: Jay Freeman (saurik) Date: Mon, 20 Apr 2009 06:22:06 +0000 (+0000) Subject: Better separation of concerns. X-Git-Tag: v1.0.3366~274 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/ab92ad73d09c0d78903ab068991190e6c0998aba Better separation of concerns. --- diff --git a/Cydia.mm b/Cydia.mm index 2f299b6c..cf27f1ee 100644 --- a/Cydia.mm +++ b/Cydia.mm @@ -397,6 +397,8 @@ extern NSString * const kCAFilterNearest; #define lprintf(args...) fprintf(stderr, args) #define ForRelease 0 +#define TraceLogging (1 && !ForRelease) +#define ProfileTimes (0 && !ForRelease) #define ForSaurik (0 && !ForRelease) #define LogBrowser (0 && !ForRelease) #define TrackResize (0 && !ForRelease) @@ -406,9 +408,12 @@ extern NSString * const kCAFilterNearest; #define RecycleWebViews 0 #define AlwaysReload (1 && !ForRelease) -#if ForRelease +#if !TraceLogging #undef _trace #define _trace(args...) +#endif + +#if !ProfileTimes #undef _profile #define _profile(name) { #undef _end @@ -562,7 +567,7 @@ CFIndex CFBSearch_(const void *element, CFIndex elementSize, const void *list, C return (ptr - (const char *)list) / elementSize; } -#define HistogramInsertionSort 1 +#define HistogramInsertionSort 0 void CFArrayInsertionSortValues(CFMutableArrayRef array, CFRange range, CFComparatorFunction comparator, void *context) { if (range.length == 0)