• Josh Bleecher Snyder's avatar
    cmd/internal/obj: add SortSlice · 826a09cd
    Josh Bleecher Snyder authored
    sort.Slice was added in Go 1.8.
    It's nice to use, and faster than sort.Sort,
    so it'd be nice to be able to use it in the toolchain.
    This CL adds obj.SortSlice, which is sort.Slice,
    but with a slower fallback version for bootstrapping.
    
    This CL also includes a single demo+test use.
    
    Change-Id: I2accc60b61f8e48c8ab4f1a63473e3b87af9b691
    Reviewed-on: https://go-review.googlesource.com/40114
    Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    826a09cd
Name
Last commit
Last update
..
arm Loading commit data...
arm64 Loading commit data...
mips Loading commit data...
ppc64 Loading commit data...
s390x Loading commit data...
x86 Loading commit data...
addrtype_string.go Loading commit data...
bootstrap.go Loading commit data...
data.go Loading commit data...
flag.go Loading commit data...
funcdata.go Loading commit data...
go.go Loading commit data...
inl.go Loading commit data...
ld.go Loading commit data...
line.go Loading commit data...
line_test.go Loading commit data...
link.go Loading commit data...
objfile.go Loading commit data...
pass.go Loading commit data...
pcln.go Loading commit data...
plist.go Loading commit data...
reloctype_string.go Loading commit data...
sizeof_test.go Loading commit data...
sort.go Loading commit data...
stack.go Loading commit data...
stringer.go Loading commit data...
sym.go Loading commit data...
symkind_string.go Loading commit data...
textflag.go Loading commit data...
typekind.go Loading commit data...
util.go Loading commit data...