Skip to content

Use strlen in CString::len #18203

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

Merged
merged 1 commit into from
Oct 21, 2014
Merged

Use strlen in CString::len #18203

merged 1 commit into from
Oct 21, 2014

Conversation

mahkoh
Copy link
Contributor

@mahkoh mahkoh commented Oct 21, 2014

This is about 20x faster on my machine.

@rust-highfive
Copy link
Contributor

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!

bors added a commit that referenced this pull request Oct 21, 2014
This is about 20x faster on my machine.
@bors bors closed this Oct 21, 2014
@bors bors merged commit 4765bb9 into rust-lang:master Oct 21, 2014
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

Successfully merging this pull request may close these issues.

3 participants