Hacker News new | ask | show | jobs
by dyaroshev 528 days ago
FYI: You don't want to do this. `supports<avx512>` is an expensive check. You really want to put this check in a static.
1 comments

I guess this was just pseudo-code. Of course you don't want to do a runtime feature check over and over again.