aboutsummaryrefslogtreecommitdiff
path: root/src/bytes/bytes_test.go
AgeCommit message (Expand)Author
19 hoursbytes,strings: add CutLastqiulaidongfeng
2026-03-10bytes: remove unused indexBytePortableapocelipes
2025-12-23bytes: improve consistency in split test messagesjjpinto
2025-11-03all: remove extra space in the commentscuishuang
2025-09-18bytes: use clear in testKir Kolyshkin
2025-07-28all: omit unnecessary type conversionsJes Cok
2025-05-15strings,bytes: make benchmark work deterministicKeith Randall
2025-03-25bytes: speed up ReplaceJulien Cretel
2024-08-19all: remove duplicated words in commentsOleksandr Redko
2024-08-14byte,strings: improve IndexRune performance by ~45%Charlie Vieth
2024-08-14bytes, strings: add Lines, SplitSeq, SplitAfterSeq, FieldsSeq, FieldsFuncSeqaimuz
2024-08-05bytes, strings: replace reflect.DeepEqual and custom eq with slices.Equal in ...aimuz
2024-07-24bytes,strings,unicode/utf16: use slices to clean up testsapocelipes
2024-05-03strings,bytes: improve Repeat panic messagesgo101
2024-01-24runtime: short path for equal pointers in arm64 memequalMauri de Souza Meneguzzo
2023-06-29internal/bytealg: fix alignment code in equal_riscv64.sMark Ryan
2023-01-24bytes, strings: add ContainsFunchopehook
2023-01-20bytes, strings: rename field in CutSuffix testsfangguizhen
2022-09-27bytes,strings: optimize RepeatCarlo Alberto Ferraris
2022-09-07bytes: simplify code using unsafe.SliceDatacuiweixie
2022-08-16strings, bytes: add CutPrefix and CutSuffixChangkun Ou
2022-08-15bytes: add Clone functionMartin Möhrmann
2022-08-08strings: avoid utf8.RuneError mangling in SplitJoe Tsai
2022-05-09internal/bytealg: optimize index function for ppc64le/power9Archana R
2022-04-06bytes: limit allocation in SplitNPhilippe Antoine
2022-03-28bytes: restore old Trim/TrimLeft behavior for nilIan Lance Taylor
2021-10-06bytes, strings: add CutRuss Cox
2021-08-25bytes, strings: optimize Trim for single byte cutsetsJoe Tsai
2020-03-11strings, bytes: improve IndexAny and LastIndexAny performanceerifan01
2020-03-04bytes, strings: moves indexRabinKarp function to internal/bytealgerifan01
2019-05-01strings, bytes: add ToValidUTF8Martin Möhrmann
2019-04-24bytes, internal/bytealg: simplify EqualJosh Bleecher Snyder
2019-04-09bytes: optimize ToLower and ToUpper for ASCII-only caseTobias Klauser
2019-04-03bytes: merge explodetests into splittestsTobias Klauser
2019-03-29bytes, strings: add tests for TrimLeftFunc and TrimRightFuncBen Hoyt
2019-03-27bytes: make TrimSpace return nil on all-space inputBen Hoyt
2019-03-15bytes: add hard benchmarks for Index and CountTobias Klauser
2019-03-12bytes, strings: speed up TrimSpace 4-5x for common ASCII casesBen Hoyt
2019-03-08bytes: add benchmark for LastIndexTobias Klauser
2018-09-26bytes, strings: add ReplaceAllBrad Fitzpatrick
2018-03-04internal/bytealg: move Count to bytealgKeith Randall
2017-11-15bytes,strings: in generic Index, use mix of IndexByte and Rabin-KarpKeith Randall
2017-11-03bytes: set cap of slices returned by Split and Fields and friendsIan Lance Taylor
2017-08-14bytes: speed up Fields and FieldsFuncMartin Möhrmann
2017-03-21bytes: add optimized countByte for amd64Josselin Costanzi
2017-02-08bytes, strings: optimize Split*Aliaksandr Valialkin
2016-10-28bytes, strings: optimize for ASCII setsJoe Tsai
2016-10-26bytes, strings: fix regression in IndexRuneJoe Tsai
2016-10-01strings, bytes: panic if Repeat overflows or if given a negative countEmmanuel Odeke
2016-09-14bytes: cut 10 seconds off the race builder's benchmark testBrad Fitzpatrick