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

[REGRESSION] remove list virtualization #86

Merged
merged 2 commits into from
Feb 27, 2024

Conversation

rupansh-sekar-yral
Copy link
Contributor

partially fixes #65
(Weird stuttering on ios is still present, possible fix is in investigation)

To mitigate this effective memory leak, we're hiding video elements which are way up in the view
per rough calculations, each element is consuming ~120 KiB on firefox linux
to saturate the memory usage to ~500 MiB the user would have to scroll roughly more than 4200 times

fixes scrolling issues on ios
in the old virtualization implementation, the intersection observer was not getting trigerred for the threshold of 1.0
reducing this to 0.83 caused scrolling issues on firefox instead during list re-ordering.
reduce per element consumption from ~200KiB to ~120KiB
@rupansh-sekar-yral rupansh-sekar-yral merged commit 6d968bc into main Feb 27, 2024
1 check passed
@rupansh-sekar-yral rupansh-sekar-yral deleted the rupansh/nuke-virtualization branch February 27, 2024 07:14
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.

Scrolling on ios not working properly
3 participants