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

Lift getting the length of the array out. #148

Merged
merged 1 commit into from Jan 25, 2018

Commits on Jan 25, 2018

  1. Lift getting the length of the array out.

    This changes get() to return an Option<> and adds a get_unchecked() that doesn't do a bounds check.
    This means our bounds check can be inlined into the caller instead of us having to CFArrayGetCount twice
    for each element.
    jrmuizel committed Jan 25, 2018
You can’t perform that action at this time.