Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

remove/cluster checks for wasm compilation #10

Open
lenscas opened this issue Jul 31, 2019 · 1 comment
Open

remove/cluster checks for wasm compilation #10

lenscas opened this issue Jul 31, 2019 · 1 comment
Labels
better code the issue is about a piece of code that works but isn't written as good as it could/should dependencies An issue dealing with dependencies, be it updates or removals

Comments

@lenscas
Copy link
Owner

lenscas commented Jul 31, 2019

Currently there are checks during compile time that check if it is being compiled for wasm. This is mainly to switch par_iter to a normal iter to prevent the wasm build from crashing.

However, it would be better if this didn't lead to 2 functions doing the same thing every time a function uses rayoun

@lenscas lenscas added dependencies An issue dealing with dependencies, be it updates or removals better code the issue is about a piece of code that works but isn't written as good as it could/should labels Jul 31, 2019
@lenscas
Copy link
Owner Author

lenscas commented Nov 30, 2019

Seems like Rayon can be given a custom thread pool and that some people managed to use web workers. https://docs.rs/web_worker/0.1.0/web_worker/

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
better code the issue is about a piece of code that works but isn't written as good as it could/should dependencies An issue dealing with dependencies, be it updates or removals
Projects
None yet
Development

No branches or pull requests

1 participant