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

Alacritty should avoid rendering cells as early as possible #5300

Open
chrisduerr opened this issue Jul 3, 2021 · 0 comments
Open

Alacritty should avoid rendering cells as early as possible #5300

chrisduerr opened this issue Jul 3, 2021 · 0 comments

Comments

@chrisduerr
Copy link
Member

Currently even with a majority of the grid empty, Alacritty will go through the creation of renderable cells for every single cell visible and only filter out empty cells after this transformation is done. As a result this significantly slows down Alacritty's rendering with extremely dense grids that are largely empty.

Ideally instead of iterating over empty cells and applying color transforms to them, these should not even be yielded by the display iterator. Currently the only major problem with that is the presence of things like selection which require empty cells to be yielded so they can be transformed into the selection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant