Skip to content

optimize subpath sorting in combine / spearate morph.#779

Merged
pissang merged 3 commits into
masterfrom
enhance-morph
Jun 30, 2021
Merged

optimize subpath sorting in combine / spearate morph.#779
pissang merged 3 commits into
masterfrom
enhance-morph

Conversation

@pissang
Copy link
Copy Markdown
Contributor

@pissang pissang commented Jun 30, 2021

In this PR I changed the hash algorithm in subpath sorting from z-order to hilbert. The difference is subtle in most cases. But in several cases, paths may move across a long distance to another even though they don't need it. That's because two points may cross the whole dim when they are still adjacent on z-order. But hilbert won't have this issue.

Before(z-order) and After(Hilbert)

@pissang pissang merged commit 66a2212 into master Jun 30, 2021
@plainheart plainheart deleted the enhance-morph branch October 13, 2022 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants