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

feat: ListBox => ListView #1301

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

feat: ListBox => ListView #1301

wants to merge 1 commit into from

Conversation

GeopJr
Copy link
Owner

@GeopJr GeopJr commented Jan 4, 2025

Guess I'm really not meant to take a break from Tuba...

Anyway, ListView is the 1.0.0 blocker. This is yet another retry. Memory wise, it works. No matter how many posts you scroll down it will always be < 200 MB.

But that's because it patches GTK to limit it to 20 items recycler. We need to make our own one.

Main loop blocking wise, I did yet another round of profiling, the main things I can see is actions and binding. Obviously this still uses our messy binding and I don't think we will ever get over it, but we can at least try and do our best to optimize it. Moving away from GtkBuilder for status widgets might also help slightly. If we know that a timeline will only have a certain type of widgets we could attempt to optimize it further.

@GeopJr GeopJr added this to the 1.0.0 milestone Jan 4, 2025
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.

1 participant