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

Port to AssemblyScript some code for performance #219

Open
darky opened this issue Nov 8, 2019 · 1 comment
Open

Port to AssemblyScript some code for performance #219

darky opened this issue Nov 8, 2019 · 1 comment

Comments

@darky
Copy link

darky commented Nov 8, 2019

On one project, instead of using isPointInPolygon I rewrite some code to Rust and compile it to WebAssembly like this toy project: https://github.com/darky/rstar-wasm

Performance gain 30-200 RPS -> 4700-5100 RPS

Maybe need to rewrite some performance critical parts with https://github.com/AssemblyScript/assemblyscript

You can drastically increase performance of geolib ;)

@manuelbieh
Copy link
Owner

Interesting. Maybe I will give it a try in v4.

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

2 participants