-
Martin Möhrmann authored
Rename memclrrange to signify that it does not handle all types of range clears. Simplify checks to detect the range clear idiom for arrays and slices. Add tests to verify the optimization for the slice range clear idiom is being applied by the compiler. Change-Id: I5c3b7c9a479699ebdb4c407fde692f30f377860c Reviewed-on: https://go-review.googlesource.com/110477 Run-TryBot: Martin Möhrmann <moehrmann@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
500d79c4
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
README | ||
arithmetic.go | ||
bitfield.go | ||
bits.go | ||
comparisons.go | ||
condmove.go | ||
copy.go | ||
floats.go | ||
issue22703.go | ||
mapaccess.go | ||
maps.go | ||
math.go | ||
mathbits.go | ||
memcombine.go | ||
rotate.go | ||
slices.go | ||
stack.go | ||
structs.go |