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

Wasm WASI: use linear memory as segments backing storage #331

Open
fzhinkin opened this issue May 28, 2024 · 0 comments
Open

Wasm WASI: use linear memory as segments backing storage #331

fzhinkin opened this issue May 28, 2024 · 0 comments

Comments

@fzhinkin
Copy link
Collaborator

Currently, Segment uses ByteArray as a backing storage on all platforms.

WASI works with a linear memory, so we have to copy from/to ByteArray on every call. Instead, we always store data in linear memory.

Performance implications are unclear, but I expect that it would beneficial (still, we need to measure it first).

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

No branches or pull requests

1 participant