I'd like to nominate enum_dispatch.
enum_dispatch transforms your trait objects into concrete compound types, increasing their method call speed up to 10x.
I discovered it on this Reddit thread of crates considered essential.
I'd like to nominate enum_dispatch.
enum_dispatch transforms your trait objects into concrete compound types, increasing their method call speed up to 10x.
I discovered it on this Reddit thread of crates considered essential.