optimize distance function calls
optimize distance function calls

imshz/simplify-js,neogis-de/simplify-js,mourner/simplify-js,npmcomponent/component-simplify,syedhali/simplify-js,gronke/simplify-js,calvinmetcalf/simplify-rs,Turbo87/simplify-js