You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason being that:
rawcpu_id takes ~1.2s to compile in release on my fairly fast machine, due to containing many structs and derives.
Whereas cpufeatures compiles in 0.06s
I'm not sure if it makes sense for cpufeatures to have this functionality but if it does I'm happy to dive in and learn exactly what these bits mean and implement it myself.
The text was updated successfully, but these errors were encountered:
At least I think thats what I want.
What I really want is to replace the usage of raw_cpuid in this file with cpufeatures https://github.com/metrics-rs/quanta/blob/main/src/detection.rs
The reason being that:
rawcpu_id takes ~1.2s to compile in release on my fairly fast machine, due to containing many structs and derives.
Whereas cpufeatures compiles in 0.06s
I'm not sure if it makes sense for cpufeatures to have this functionality but if it does I'm happy to dive in and learn exactly what these bits mean and implement it myself.
The text was updated successfully, but these errors were encountered: