mirror of
https://github.com/golang/go
synced 2024-11-22 20:50:05 -07:00
48297f1fb1
AppendRune appends the UTF-16 encoding of a rune to a []uint16. BenchmarkEncodeValidASCII-12 24.61ns 16B 1allocs BenchmarkEncodeValidJapaneseChars-12 18.79ns 8B 1allocs BenchmarkAppendRuneValidASCII-12 6.826ns 0B 0allocs BenchmarkAppendRuneValidJapaneseChars-12 3.547ns 0B 0allocs The ASCII case is written to be inlineable. Fixes #51896 Change-Id: I593b1029f603297ef6e80e036f2fee2a0938d38d Reviewed-on: https://go-review.googlesource.com/c/go/+/409054 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Joedian Reid <joedian@golang.org> |
||
---|---|---|
.. | ||
41773.txt | ||
42537.txt | ||
45038.txt | ||
51246.txt | ||
51668.txt | ||
51896.txt | ||
52221.txt | ||
52746.txt | ||
53002.txt | ||
53021.txt | ||
53200.txt | ||
54222.txt | ||
54251.txt |