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 partial IO #803

Closed
wants to merge 6 commits into from
Closed

Implement partial IO #803

wants to merge 6 commits into from

Conversation

reczkok
Copy link
Collaborator

@reczkok reczkok commented Jan 22, 2025

closes #800

  • Investigate if having one ArrayBuffer for all data is practical and faster
  • Figure a way to cache calls to avoid creating instructions for the same accessed data (to speed up subsequent calls)
  • Support unstructs and disarrays

Copy link

codesandbox-ci bot commented Jan 22, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@reczkok
Copy link
Collaborator Author

reczkok commented Jan 28, 2025

I'm currently testing two approaches to partial IO.
The one on this draft:
Screenshot 2025-01-28 at 10 30 44

And one with one big array buffer. Instead of instructions containing the buffer itself they contain views for it:
Screenshot 2025-01-28 at 10 29 35

@reczkok
Copy link
Collaborator Author

reczkok commented Jan 28, 2025

I was also wondering if combining instructions in the current draft is worth it. Here is a version without it:
image
It doubles the speed of contagious writes with almost no overhead in this particular benchmark.

@reczkok
Copy link
Collaborator Author

reczkok commented Jan 28, 2025

Closed in favor of #808

@reczkok reczkok closed this Jan 28, 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.

Allow for partial I/O operations
1 participant