Optimize coordinate wrappers
Closed this issue ยท 1 comments
schmidtk commented
postfix.js
has a number of wrappers to avoid errors converting coordinate arrays to structs. When the source array length is longer than expected, we slice the array to avoid an error. This approach creates unnecessary GC overhead and in quick testing incurred a ~10-15% performance penalty over a wrapper that passes the lon/lat values directly to the function (with a double lon, double lat
function signature). We should investigate how these calls can be better optimized.
wallw-teal commented
๐ This issue has been resolved in version 1.2.1 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐