Skip to content
  • Nick Mathewson's avatar
    Faster circuit_get_by_rend_token_and_purpose() · 8b9a2cb6
    Nick Mathewson authored
    On busy servers, this function takes up something like 3-7% in
    different profiles, and gets invoked every time we need to participate
    as the midpoint in a hidden service.
    
    So maybe walking through a linked list of all the circuits here wasn't
    a good idea.
    8b9a2cb6