go/src/reflect
Matthew Dempsky 86a338960d reflect: sort exported methods first
By moving exported methods to the front of method lists, filtering
down to only the exported methods just needs a count of how many
exported methods exist, which the compiler can statically
provide. This allows getting rid of the exported method cache.

For #22075.

Change-Id: I8eeb274563a2940e1347c34d673f843ae2569064
Reviewed-on: https://go-review.googlesource.com/100846
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2018-03-15 21:56:08 +00:00
..
all_test.go reflect: add embedded field test 2018-02-14 15:28:25 +00:00
asm_386.s
asm_amd64.s
asm_amd64p32.s
asm_arm.s
asm_arm64.s
asm_mips64x.s
asm_mipsx.s
asm_ppc64x.s
asm_s390x.s
deepequal.go reflect: document how DeepEqual handles cycles 2017-08-04 22:22:03 +00:00
example_test.go
export_test.go reflect: audit and explain safety of all unsafe.Pointer additions 2017-12-01 21:05:40 +00:00
makefunc.go
set_test.go
swapper.go reflect: audit and explain safety of all unsafe.Pointer additions 2017-12-01 21:05:40 +00:00
tostring_test.go
type.go reflect: sort exported methods first 2018-03-15 21:56:08 +00:00
value.go reflect: avoid calling common if type is known to be *rtype 2018-02-22 07:18:15 +00:00