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

Investigate using another formulation to remove bounds checks #318

Open
bluss opened this issue Oct 5, 2016 · 1 comment
Open

Investigate using another formulation to remove bounds checks #318

bluss opened this issue Oct 5, 2016 · 1 comment
Milestone

Comments

@bluss
Copy link
Contributor

bluss commented Oct 5, 2016

Just maybe investigate if using another way to write for example take_while without bounds checks. It could be worth it if it helps performance.

See this issue for reference: rust-lang/rust/issues/30112

In particular this comment shows the kind of find-then-split loop that optimizes out the bounds check in the compiler today: rust-lang/rust#30112 (comment)

@Geal
Copy link
Collaborator

Geal commented Oct 8, 2016

great, thanks! I'll look into it

@Geal Geal added this to the 4.0 milestone Sep 6, 2017
@Geal Geal modified the milestones: 4.0, 4.1 Feb 3, 2018
@Geal Geal modified the milestones: 4.1, 6.0 Apr 6, 2020
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