Skip to content

Conversation

@NovemberZulu
Copy link

No functional changes

@huntc
Copy link
Contributor

huntc commented Jul 22, 2024

Thanks for the PR. I'm curious as to the motivation.

Also, the existing code preallocates the vector the number of handlers. Not a biggy, but I'm thinking that the change here would remove that.

@NovemberZulu
Copy link
Author

No hidden agenda:) I am familiarizing myself with RustRover and poking various Rust FSMs. This piece of code looks like it is a map operation. I don't know if it is faster than a loop or or not.

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