Skip to content

Commit

Permalink
Perf: Don't union features iteratively with locationReducer
Browse files Browse the repository at this point in the history
We needed to do this before with Turf/JSTS/martinez clippers,
but mfogel/polygon-clipper can handle multiple input coord arrays,
so we can send all the coords in one shot and it just works fast.
  • Loading branch information
bhousel committed Dec 30, 2020
1 parent 8a602d0 commit 86ab4ae
Show file tree
Hide file tree
Showing 4 changed files with 177 additions and 174 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ root = true

[*]
trim_trailing_whitespace = true
insert_final_newline = false
insert_final_newline = true

# for ESLint
[*.js]
Expand Down
133 changes: 72 additions & 61 deletions dist/index.es5.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 86ab4ae

Please sign in to comment.