mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-15 21:53:39 +01:00
Merge pull request #287 from ruslanskorb/list-monitor-subscript-performance
[ListMonitor] Fix performance of `subscript(safeSectionIndex:safeItemIndex:)`.
This commit is contained in:
@@ -144,7 +144,7 @@ public final class ListMonitor<D: DynamicObject>: Hashable {
|
||||
|
||||
return nil
|
||||
}
|
||||
return ObjectType.cs_fromRaw(object: section.objects![itemIndex] as! NSManagedObject)
|
||||
return self[IndexPath(indexes: [sectionIndex, itemIndex])]
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user