diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2022-03-17 11:41:24 +0100 |
---|---|---|
committer | Tobias Klauser <tobias.klauser@gmail.com> | 2022-03-18 05:55:52 +0000 |
commit | 489102de18cff38d1b12d09eeb7e60af42492d63 (patch) | |
tree | 2710a8bbe35de599e1ba9510ee29a646fe474ace /src/internal/diff/diff.go | |
parent | 3ea22cf3c4b32e6473ad1358a3cbfccc11abc5be (diff) | |
download | go-git-489102de18cff38d1b12d09eeb7e60af42492d63.tar.gz |
syscall: optimize UTF16{,Ptr}FromString
Use bytealg.IndexByteString in UTF16FromString instead of an open-coded
loop.
Change-Id: I366448382f2d0adeca6b254131e0087a1f489258
Reviewed-on: https://go-review.googlesource.com/c/go/+/393614
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/internal/diff/diff.go')
0 files changed, 0 insertions, 0 deletions