Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remove keypath filter on SessionViewModel#705

Merged
insidegui merged 1 commit into
masterfrom
ah/fixes
Jul 10, 2023
Merged

Remove keypath filter on SessionViewModel#705
insidegui merged 1 commit into
masterfrom
ah/fixes

Conversation

@allenhumphreys

Copy link
Copy Markdown
Collaborator

• 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.

@insidegui insidegui merged commit ebb3712 into master Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants