Open darky opened 5 years ago
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
isPointInPolygon
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 ;)
Interesting. Maybe I will give it a try in v4.
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-wasmPerformance 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 ;)