aboutsummaryrefslogtreecommitdiff
path: root/src/strings/strings_test.go
AgeCommit message (Expand)Author
19 hoursbytes,strings: add CutLastqiulaidongfeng
2025-11-03all: remove extra space in the commentscuishuang
2025-05-15strings,bytes: make benchmark work deterministicKeith Randall
2025-03-20strings: don't assert on Replace's allocs for ASANJulien Cretel
2025-03-20strings: speed up ReplaceJulien Cretel
2025-03-15strings: add FuzzReplace testJorropo
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-03-18strings: optimize Repeat for common substringsJoe Tsai
2023-01-24bytes, strings: add ContainsFunchopehook
2023-01-20bytes, strings: rename field in CutSuffix testsfangguizhen
2022-10-31internal/bytealg: fix bug in index function for ppc64le/power9Archana R
2022-09-27bytes,strings: optimize RepeatCarlo Alberto Ferraris
2022-09-21bytes, strings: add ASCII fast path to EqualFoldCharlie Vieth
2022-09-14strings: reuse the input string for Repeat count of 1Anuraag Agrawal
2022-09-07strings: simplify code using unsafe.StringDatacuiweixie
2022-08-19strings: speed up ToUpper()/ToLower() by batch writing data with BuilderAndy Pan
2022-08-16strings, bytes: add CutPrefix and CutSuffixChangkun Ou
2022-08-08strings: avoid utf8.RuneError mangling in SplitJoe Tsai
2022-03-31strings: limits allocation size for SplitNPhilippe Antoine
2021-10-06bytes, strings: add CutRuss Cox
2021-08-25bytes, strings: optimize Trim for single byte cutsetsJoe Tsai
2020-08-17strings: optimize Replace by using a strings.BuilderPolina Osadcha
2020-03-11strings, bytes: improve IndexAny and LastIndexAny performanceerifan01
2020-02-26all: avoid string(i) where i has type intIan Lance Taylor
2019-09-24cmd/gofmt: fix computation of function header sizeEli Bendersky
2019-05-01strings, bytes: add ToValidUTF8Martin Möhrmann
2019-04-09strings: add TestIndexByteTobias Klauser
2019-03-29bytes, strings: add tests for TrimLeftFunc and TrimRightFuncBen Hoyt
2019-03-12bytes, strings: speed up TrimSpace 4-5x for common ASCII casesBen Hoyt
2018-10-03strings: correctly handle invalid utf8 sequences in MapMartin Möhrmann
2018-09-26bytes, strings: add ReplaceAllBrad Fitzpatrick
2018-09-02strings: simplify Join using BuilderPhil Pearl
2018-08-22strings: use Builder in Repeat to avoid an allocationgo101
2018-08-22strings: use Builder in MapMichael Fraenkel
2018-05-04strings: fix encoding of \u0080 in mapMartin Möhrmann
2018-05-01bytes, strings: improve EqualFold fast version for ASCIIEric Pauley
2017-11-15bytes,strings: in generic Index, use mix of IndexByte and Rabin-KarpKeith Randall
2017-11-08strings: optimize ToLowerAgniva De Sarker
2017-11-07strings: optimize ToUpperAgniva De Sarker
2017-04-07strings: optimize Count for amd64Josselin Costanzi
2017-04-04strings: speed up FieldsMartin Möhrmann
2017-02-28strings: fix handling of invalid UTF-8 sequences in MapMartin Möhrmann
2017-02-08bytes, strings: optimize Split*Aliaksandr Valialkin
2016-11-01strings: ignore allocation test in cover modeBrad Fitzpatrick
2016-10-28bytes, strings: optimize for ASCII setsJoe Tsai