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

Add build for Web Assembly SIMD #16

Open
eshaz opened this issue Nov 16, 2021 · 0 comments
Open

Add build for Web Assembly SIMD #16

eshaz opened this issue Nov 16, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@eshaz
Copy link
Owner

eshaz commented Nov 16, 2021

Add builds that support Web Assembly SIMD. This should significantly speed up decoding.

  • Must be backwards compatible with browsers that don't support this feature, since it relatively new.
    • Could use feature detection and fall back to the non-SIMD build if not available.
  • Update configure options to allow any SIMD optimized code to be added during pre-processing.
  • The deinterleave function may be able to be optimized to use SIMD to more quickly iterate over the data, potentially by creating a custom function for this build. https://github.com/WebAssembly/simd/blob/master/proposals/simd/SIMD.md
@eshaz eshaz added the enhancement New feature or request label Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant