Port to AssemblyScript some code for performance
darky opened this issue · 1 comments
darky commented
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 commented
Interesting. Maybe I will give it a try in v4.