perf(mail): Improve IMAP fetch sorting using NSDictionary keys instead of indexOfObject. Code refactoring

This commit is contained in:
smizrahi committed 2022-11-22 17:48:45 +01:00
1 parent f5c6fcc350
commit 48c7375544
1 file changed
+1 -1
+1 -1
View File
@@ -219,7 +219,7 @@ static NSInteger _compareFetchResultsByUID (id entry1, id entry2, NSDictionary *
/* Sorting */
- (NSArray *) _sortFetchResultsWithUID: (NSArray *)fetchResults uids: (NSDictionary *)uids
- (NSArray *) _sortFetchResultsWithUID: (NSArray *)fetchResults uids: (NSArray *)uids
{
NSUInteger index;
NSMutableDictionary *uidsDict;