Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should probably cache feature detection #23

Open
thomwiggers opened this issue Jul 28, 2021 · 2 comments
Open

Should probably cache feature detection #23

thomwiggers opened this issue Jul 28, 2021 · 2 comments

Comments

@thomwiggers
Copy link
Member

We're currently simply checking cpuid each time.

@tarcieri
Copy link

Might be helpful, depending on which CPUs you need to target: https://crates.io/crates/cpufeatures

@thomwiggers
Copy link
Member Author

I rather meant the dispatch to the portable or the accelerated implementation; probably we want to do something with AtomicPtr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants