Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.

Conversation

@vash1486
Copy link

Hi!
making some tests I've noticed a huge performance issue using more than 16k sites (2*14+ for precision sake). Making some profiling it results that the splice in clipEdges() slow down a lot with large arrays (from 0.3s for 12k points to 4s for 16k). I've removed de splice, making a new array with unshift and now it take 0.35 for 16k sites and 1.5s for 65k.
hope this fix can be helpful :)
thanks a lot for your work ;)

wvffle added a commit to wvffle/voronoi that referenced this pull request Dec 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant