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

Small optimization: remove needless code from internal sched() calls #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 5, 2016

  1. Small optimization: remove needless code from internal sched() calls

    When we call timeout_sched() internally, sometimes we can be sure
    that the timeout is in the future.  Always, we can be sure that the
    timeout has its expires field and its timeouts field set correctly,
    and that it is not currently pending.
    
    (Do not merge this patch without benchmarking to see if it makes a
    measurable difference.)
    nmathewson committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    a229b3e View commit details
    Browse the repository at this point in the history