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

Enable SIMD by default #491

Closed
coder543 opened this issue Jun 21, 2018 · 0 comments
Closed

Enable SIMD by default #491

coder543 opened this issue Jun 21, 2018 · 0 comments

Comments

@coder543
Copy link

coder543 commented Jun 21, 2018

Now that 1.27 has landed, it would be awesome to see SIMD enabled by default. Currently, this section exists in the README:

Usage: enable SIMD optimizations

This crate provides an unstable feature that can only be enabled on nightly Rust. When this feature is enabled, the regex crate will use SIMD optimizations if your CPU supports them. No additional compile time flags are required; the regex crate will detect your CPU support at runtime.

When std::arch becomes stable, then these optimizations will be enabled automatically.

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

1 participant