Conversation
|
So far the winner seems to be the most naïve approach: This makes sense if:
BUT actually that first bullet point isn't quite right because a lot of instructions use I also want to try splitting the type discriminant and the data into separate vectors and just see what happens. |
|
on my machine the results aren't that convincing, really. None of the gains are statistically significant agains the baseline (the branch we merged yesterday evening) To me that means that the profile isn't really all that helpful here. |
|
I tried using the LEB functions from https://github.com/nnethercote/rust/blob/ad7802f9d45b884dad58931c7a8bec91d196ad0e/src/libserialize/leb128.rs (those were optimized, see rust-lang/rust#69050 (comment)) but didn't really see an effect. |
See commit messages for Zig test timing numbers.