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

Eliminate Shared Array Buffers? #22

Open
chxffre opened this issue Feb 12, 2025 · 1 comment
Open

Eliminate Shared Array Buffers? #22

chxffre opened this issue Feb 12, 2025 · 1 comment

Comments

@chxffre
Copy link

chxffre commented Feb 12, 2025

Hi, I'm here from vosk-browser. I'm interested in Vosklet as a lightweight alternative, but unfortunately SABs are a non-starter for my environment. I'd love to understand from a high level what it would take to get rid of that dependency, possibly even as a separate version of the library. Is it even remotely possible, or they too fundamental to your implementation to consider eliminating?

@msqr1
Copy link
Owner

msqr1 commented Feb 12, 2025

The SharedArrayBuffer are used to share models between recognizer. If we don't need multiple recognizer for one model, we can just use an ArrayBuffer.

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

No branches or pull requests

2 participants