summaryrefslogtreecommitdiff
path: root/src/bytes
Commit message (Expand)AuthorAgeFilesLines
* bytes: deflake TestGrow by using testing.AllocsPerRunHowJMay2020-02-261-10/+9
* hash/maphash: move bytes/hash to hash/maphashKeith Randall2019-11-023-732/+0
* bytes/hash: initialize all 64 bits of hash seedKeith Randall2019-10-212-1/+17
* bytes: add endian base compare testMeng Zhuo2019-10-071-0/+33
* strings, bytes: clarify usage of EqualFoldsAndrew Medvedev2019-09-211-1/+2
* bytes/hash: disable seed test on 32-bit platformsKeith Randall2019-09-031-0/+4
* bytes/hash: add hashing package for bytes and stringsKeith Randall2019-08-293-0/+712
* bytes: remove obsolete commentMaxim Eryomenko2019-05-281-3/+0
* strings, bytes: add ToValidUTF8Martin Möhrmann2019-05-012-0/+79
* bytes, internal/bytealg: simplify EqualJosh Bleecher Snyder2019-04-243-28/+13
* bytes: optimize ToLower and ToUpper for ASCII-only caseTobias Klauser2019-04-092-4/+94
* bytes: merge explodetests into splittestsTobias Klauser2019-04-031-29/+3
* bytes, strings: add tests for TrimLeftFunc and TrimRightFuncBen Hoyt2019-03-291-12/+63
* bytes: make TrimSpace return nil on all-space inputBen Hoyt2019-03-272-30/+46
* bytes: add hard benchmarks for Index and CountTobias Klauser2019-03-151-0/+23
* bytes, strings: speed up TrimSpace 4-5x for common ASCII casesBen Hoyt2019-03-122-4/+45
* bytes: return early in Repeat if count is 0Tobias Klauser2019-03-091-1/+4
* bytes: use Rabin-Karp algorithm for LastIndexTobias Klauser2019-03-081-4/+43
* bytes: add benchmark for LastIndexTobias Klauser2019-03-081-0/+10
* bytes: add examples for ToTitleSpecial, ToUpperSpecial and ToLowerSpecialKetan Parmar2019-03-011-0/+30
* bytes: clean up a testLeon Klingele2019-02-261-14/+8
* bytes: hoist error creation out of functionMarcel van Lohuizen2019-02-261-1/+3
* bytes: add ReplaceAll exampledupoxy2018-12-131-0/+6
* all: use "reports whether" consistently instead of "returns whether"Tobias Klauser2018-12-021-1/+1
* strings,bytes: use inlineable function trampolines instead of linknameKeith Randall2018-11-082-24/+19
* bytes, strings: fix Reader.UnreadRune returning without error on a zero ReaderTim Cooper2018-10-292-1/+47
* bytes: vary the input alignment to Compare argument in compare_test.goLotusFenn2018-10-111-3/+10
* bytes, strings: add ReplaceAllBrad Fitzpatrick2018-09-262-0/+15
* strings, bytes: optimize function Indexerifan012018-09-131-13/+15
* bytes: remove bootstrap array from BufferIskander Sharipov2018-09-061-7/+8
* bytes: add example for Buffer.LenErin Masatsugu2018-08-301-0/+8
* bytes: note that NewBuffer's initial size can changeAlberto Donizetti2018-08-291-3/+3
* all: fix typos detected by github.com/client9/misspellKazuhiro Sera2018-08-231-1/+1
* strings, bytes: avoid unnecessary function literalsJohan Brandhorst2018-08-221-3/+3
* bytes, strings: fix comparison of long byte slices on s390xbill_ofarrell2018-06-291-2/+13
* bytes: re-slice buffer to its previous length after call to grow()Dave Russell2018-05-292-0/+34
* bytes, strings: improve EqualFold fast version for ASCIIEric Pauley2018-05-011-3/+3
* internal/bytealg: move short string Index implementations into bytealgKeith Randall2018-03-046-487/+86
* internal/bytealg: move compare functions to bytealgKeith Randall2018-03-041-2/+2
* internal/bytealg: move Count to bytealgKeith Randall2018-03-047-41/+7
* internal/bytealg: move IndexByte asssembly to the new bytealg packageKeith Randall2018-03-021-2/+2
* bytes: add asm version of Index for short strings on arm64Wei Xiao2018-03-012-0/+136
* bytes: mention strings.Builder in Buffer.String docsBrad Fitzpatrick2017-11-301-0/+2
* bytes: add optimized countByte for arm64Wei Xiao2017-11-213-1/+143
* bytes: don't use an iota for the readOp constantsDaniel Martí2017-11-191-6/+8
* bytes: make all readOp constants actually typedDaniel Martí2017-11-181-6/+6
* bytes, strings: restore O(1) behavior of IndexAny(s, "") and LastIndexAny(s, "")Russ Cox2017-11-152-1/+9
* bytes: make ExampleTrimLeft and ExampleTrimRight matchRuss Cox2017-11-151-2/+2
* bytes: change ExampleReader_Len to use a non-ASCII stringRuss Cox2017-11-151-4/+2
* bytes,strings: in generic Index, use mix of IndexByte and Rabin-KarpKeith Randall2017-11-155-87/+90