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

Document better frame diffing #794

Closed
Valentin271 opened this issue Jan 12, 2024 · 0 comments · Fixed by #852
Closed

Document better frame diffing #794

Valentin271 opened this issue Jan 12, 2024 · 0 comments · Fixed by #852
Labels
Effort: Easy Something that should be pretty quick to fix Type: Documentation Improvements or additions to documentation

Comments

@Valentin271
Copy link
Member

When building a frame, there is a diff algorithm that compares it to the previous one and only renders the difference.

I've answered this a few times on discord and probably on github. I think this is important (or at least interesting) and needs to be better documented.


A few places that could be documented are

The only place I've seen this stated is here https://ratatui.rs/concepts/rendering/under-the-hood/#flush

@Valentin271 Valentin271 added Type: Documentation Improvements or additions to documentation Effort: Easy Something that should be pretty quick to fix labels Jan 12, 2024
@Valentin271 Valentin271 linked a pull request Jan 19, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Effort: Easy Something that should be pretty quick to fix Type: Documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant