• Use .modified for Realm automatic updates to reduce unnecessary change notifications
• Short circuit empty objects for public func modify<T>(_ objects: [T] because Realm was still creating a transaction due to the try backgroundRealm.write
• Remove the KeyPath filter on rxSession. I added it because I was testing impact on performance. I think there some value there but we'd need to supply all the KeyPaths that affect display, just removing it for now.
• Use
.modified
for Realm automatic updates to reduce unnecessary change notifications • Short circuit emptyobjects
forpublic func modify<T>(_ objects: [T]
because Realm was still creating a transaction due to thetry backgroundRealm.write
• Remove the KeyPath filter onrxSession
. I added it because I was testing impact on performance. I think there some value there but we'd need to supply all the KeyPaths that affect display, just removing it for now.