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

Implement streaming rendering #112

Merged
merged 1 commit into from
Jun 7, 2024
Merged

Implement streaming rendering #112

merged 1 commit into from
Jun 7, 2024

Conversation

saethlin
Copy link
Owner

@saethlin saethlin commented Jun 7, 2024

The current implementation buffers the entire rendering state in memory, which causes the rendering process to require unbounded memory use.

This change makes us simulate a reasonable rendering area, and any rows pushed off the top are output immediately. This dramatically reduces the memory usage of rendering on-the-fly.

@saethlin saethlin marked this pull request as ready for review June 7, 2024 01:07
@saethlin saethlin merged commit 6ab9856 into main Jun 7, 2024
6 checks passed
@saethlin saethlin deleted the streaming-rendering branch June 7, 2024 01:08
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