Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Disassembler] Slow spacing of separated parts #84

Open
mbrown1413 opened this issue Jun 30, 2024 · 0 comments
Open

[Disassembler] Slow spacing of separated parts #84

mbrown1413 opened this issue Jun 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mbrown1413
Copy link
Owner

mbrown1413 commented Jun 30, 2024

Disassembly.spaceSeparatedParts() will space parts out so they don't touch each other in the disassembly view. The implementation is really slow! Try AlPackino.xmpuzzle from the BurrTools example files for example. The separation code is run inside SolutionDisplay, so it happens every time the puzzle is loaded (the non-separated version is stored, and only separated for display).

I'm pretty sure the algorithm's complexity can be improved. It's a pretty naive implementation at the moment.

@mbrown1413 mbrown1413 added the bug Something isn't working label Jun 30, 2024
@mbrown1413 mbrown1413 added this to the 1.0 or earlier milestone Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant