aboutsummaryrefslogtreecommitdiff
path: root/src/bytes/bytes.go
AgeCommit message (Expand)Author
2023-01-24bytes, strings: add ContainsFunchopehook
2022-09-27bytes,strings: optimize RepeatCarlo Alberto Ferraris
2022-09-21bytes, strings: add ASCII fast path to EqualFoldCharlie Vieth
2022-08-23bytes: rely on utf8.AppendRuneJoe Tsai
2022-08-19bytes, strings: s/after/before/ in CutSuffixMichal Bohuslávek
2022-08-16strings, bytes: add CutPrefix and CutSuffixChangkun Ou
2022-08-15bytes: add Clone functionMartin Möhrmann
2022-04-16bytes: explode checks for n too largePhilippe Antoine
2022-04-11all: gofmt main repoRuss Cox
2022-04-07strings, bytes: improve the description of simple case-folding in EqualFoldhopehook
2022-04-06bytes: limit allocation in SplitNPhilippe Antoine
2022-03-28bytes: restore old Trim/TrimLeft behavior for nilIan Lance Taylor
2022-02-08bytes, strings: mention Cut in docs for Split and SplitNIan Lance Taylor
2021-11-05strings, bytes: deprecate Titlesmasher164
2021-11-02net/netip: add new IP address packageBrad Fitzpatrick
2021-10-31bytes: remove redundant type conversionAlexander Melentyev
2021-10-13bytes: fix Cut godoc typokjgorman
2021-10-06strings,bytes: avoid allocations in Trim/TrimLeft/TrimRightCarlo Alberto Ferraris
2021-10-06bytes, strings: add CutRuss Cox
2021-08-25bytes, strings: optimize Trim for single byte cutsetsJoe Tsai
2020-09-23bytes, internal/bytealg: fix incorrect IndexString usageMichael Munday
2020-05-01bytes: simpler and faster FieldsFunc (apply same changes as for strings)Robert Griesemer
2020-04-29bytes, strings: align requirements for functions passed to FieldFuncsMartin Möhrmann
2020-03-23bytes: narrow the search of IndexByte in IndexAndy Pan
2020-03-11strings, bytes: improve IndexAny and LastIndexAny performanceerifan01
2020-03-04bytes, strings: moves indexRabinKarp function to internal/bytealgerifan01
2019-09-21strings, bytes: clarify usage of EqualFoldsAndrew Medvedev
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-03-27bytes: make TrimSpace return nil on all-space inputBen Hoyt
2019-03-12bytes, strings: speed up TrimSpace 4-5x for common ASCII casesBen Hoyt
2019-03-09bytes: return early in Repeat if count is 0Tobias Klauser
2019-03-08bytes: use Rabin-Karp algorithm for LastIndexTobias Klauser
2018-11-08strings,bytes: use inlineable function trampolines instead of linknameKeith Randall
2018-09-26bytes, strings: add ReplaceAllBrad Fitzpatrick
2018-09-13strings, bytes: optimize function Indexerifan01
2018-08-22strings, bytes: avoid unnecessary function literalsJohan Brandhorst
2018-05-01bytes, strings: improve EqualFold fast version for ASCIIEric Pauley
2018-03-04internal/bytealg: move short string Index implementations into bytealgKeith Randall
2018-03-04internal/bytealg: move Count to bytealgKeith Randall
2017-11-15bytes, strings: restore O(1) behavior of IndexAny(s, "") and LastIndexAny(s, "")Russ Cox
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-10-04bytes: correct Map documentationGabriel Aszalos
2017-10-02bytes: explicitly state if a function expects UTF-8-encoded dataTim Cooper
2017-09-25bytes: improve readability of IndexAny and LastIndexAny functionsGabriel Aszalos
2017-08-18all: unindent some big chunks of codeDaniel Martí
2017-08-14bytes: speed up Fields and FieldsFuncMartin Möhrmann
2017-04-03bytes, strings: declare variables inside loop they're used inEric Lagergren