benchmark fidelity
gilescope opened this issue · comments
Squirrel commented
I'm just looking at the benchmark and it seems a slightly unfair comparison as the benchmark is creating a string which requires allocation. It might be fairer to compare it to parsing from a &str
like this: "1996".parse::<u32>();
?
Squirrel commented
My bad that is a &str. Sorry misread!