Skip to content

Conversation

@radarhere
Copy link
Contributor

Minor optimisation. Feel free to ignore if you prefer the arrangement of the original code.

@regebro
Copy link
Owner

regebro commented Aug 1, 2025

Well, the key will always be normalized. It doesn't really matter where it's done, to me it feels better at the start of the method.

Thanks for the input anyway!

@regebro regebro closed this Aug 1, 2025
@radarhere radarhere deleted the patch-1 branch August 1, 2025 13:26
@radarhere
Copy link
Contributor Author

My thinking was that if the code hits continue, then key doesn't need to be normalised.

But sure, thanks for the review.

@regebro
Copy link
Owner

regebro commented Aug 1, 2025

Yeah, you are right, but as mentioned in the comments, I don't think that actually happens any more. I'm just keeping it there for a while until I have time to make sure.

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