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

device: optimize Peer.String even more so #60

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

Commits on Oct 30, 2022

  1. device: optimize Peer.String even more so

    name          old time/op    new time/op    delta
    PeerString-8    49.5ns ±17%    32.6ns ±17%  -34.09%  (p=0.000 n=10+10)
    
    name          old alloc/op   new alloc/op   delta
    PeerString-8     24.0B ± 0%     24.0B ± 0%     ~     (all equal)
    
    name          old allocs/op  new allocs/op  delta
    PeerString-8      1.00 ± 0%      1.00 ± 0%     ~     (all equal)
    
    Signed-off-by: Alexander Yastrebov <yastrebov.alex@gmail.com>
    AlexanderYastrebov committed Oct 30, 2022
    Configuration menu
    Copy the full SHA
    ba07b13 View commit details
    Browse the repository at this point in the history