• Steven Allen's avatar
    stop copying when calling `Bytes` · 61e31ed4
    Steven Allen authored
    This is a huge performance hit. Really, we just need to tell users not to modify
    the result.
    
    Also, get rid of an unnecessary pointer indirection (no api change).
    61e31ed4
multiaddr.go 3.22 KB