Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

speed up chatlist #1374

Closed
r10s opened this issue Oct 2, 2021 · 0 comments · Fixed by #1395
Closed

speed up chatlist #1374

r10s opened this issue Oct 2, 2021 · 0 comments · Fixed by #1395
Assignees
Labels
enhancement actually in development, user visible enhancement

Comments

@r10s
Copy link
Member

r10s commented Oct 2, 2021

with #1358 (comment) we keep observers running in the chat view even when the chat is not on top (as on android) - this has the huge advantage, that the view is kept up to date when eg. the profile is opened and the back-button or -gesture is amazingly fast.

this saves the load-db call when the chatlist comes to view (only needed once on program start)

we should do the same for the chatlist, that should give the app a real speed boost :)

as the chatlist updates are even debounced, this change should be even more safe than for the chat view (which, however, is less often and shorted covered by another view).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement actually in development, user visible enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants