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

Refactored bucket.gd #681

Conversation

MatteoPiovanelli-Laser
Copy link
Contributor

Separated out the larger functions to ease readability and possible future improvements.

Separated out the larger functions to ease readability and possible
future improvements.
while not done:
done = true
var max_index = _allegro_flood_segments.size()
#print(max_index)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You forgot a commented print here :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Who? Me? Impossible!
Now, late-night-commit-me, you shouldn't trust that guy's code...

(thanks for spotting this)

@MatteoPiovanelli-Laser
Copy link
Contributor Author

Just for context, the point of the refactor in this PR is to do this:
image
and be able to find what needs improving (those are function times on a bucket fill on a 3000x3000 px image)

Copy link
Member

@OverloadedOrama OverloadedOrama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, that sounds very helpful indeed. Thanks a lot!

@OverloadedOrama OverloadedOrama merged commit c44feb5 into Orama-Interactive:master Apr 28, 2022
@MatteoPiovanelli-Laser MatteoPiovanelli-Laser deleted the bucket-refactor branch July 14, 2022 21:50
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.

None yet

2 participants