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

combine writes and avoid a few more allocations #14

Merged
merged 2 commits into from
Jun 14, 2019

Commits on Jun 6, 2019

  1. even fewer allocations

    Also, drop the channel lock optimization. Uncontested locks are generally pretty
    fast anyways (and we don't even use this code).
    Stebalien committed Jun 6, 2019
    Configuration menu
    Copy the full SHA
    c002cc6 View commit details
    Browse the repository at this point in the history
  2. combine length + message before writing

    This will help secio send fewer packets when negotiating. it _does_ cost us a
    copy, but there's not much we can do about that.
    Stebalien committed Jun 6, 2019
    Configuration menu
    Copy the full SHA
    bde2585 View commit details
    Browse the repository at this point in the history