Conversation
|
It looks like this touches the codepath that lead to the slowdown in #1564, I'll look into whether this is something easy to fix. |
|
Rebased on main to get the new clippy fixes, should fix CI run. |
Hey! did you have anuy lead regarding this? 🤗 |
I made a comment, the reported slowdown might be explainable with the increased number of allocations when going from |
Narsil
left a comment
There was a problem hiding this comment.
LGTM. I don't see any performance difference, but it definitely feels more idiomatic.
This PR tightens up the allocations by a bit. It's unlikely there are any juicy gains here, but the changes also happen to lead to terser, more clear code, so this might be an uncontroversial win.