Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remove keypath filter on SessionViewModel #705

Merged
merged 1 commit into from
Jul 10, 2023
Merged

Remove keypath filter on SessionViewModel #705

merged 1 commit into from
Jul 10, 2023

Conversation

allenhumphreys
Copy link
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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants