Closed paolobarbolini closed 4 years ago
Have you by any chance benchmarked this? This is something that is in the fast path so I worry a bit about this.
The PR doesn't merge now, because of the 2018 edition changes. Could you please fix that?
I did a quick benchmark comparing the old implementation with the new one and enum-repr
seems to be about the same as enum-primitive
In an effort to reduce duplicate crate versions in projects, replace the unmaintained
enum_primitive
crate which depends on an old version ofnum-traits
withenum-repr
.