aboutsummaryrefslogtreecommitdiff
path: root/src/bytes/bytes.go
AgeCommit message (Expand)Author
4 daysall: document legacy //go:linkname for final round of modulesRuss Cox
2024-05-03strings,bytes: improve Repeat panic messagesgo101
2024-02-19strings: make use of sizeclasses in (*Builder).GrowMateusz Poliwczak
2023-11-01bytes,internal/bytealg: add func bytealg.LastIndexRabinKarpJes Cok
2023-10-31bytes,internal/bytealg: eliminate IndexRabinKarpBytes using genericsJes Cok
2023-10-27bytes,internal/bytealg: eliminate HashStrBytes,HashStrRevBytes using …Jes Cok
2023-09-01bytes, strings: use "reports whether" in HasPrefix and HasSuffixMatthew Dempsky
2023-08-25internal/bytealg: add generic LastIndexByte{,String}Tobias Klauser
2023-03-25all: add a few links in package godocsDaniel Martí
2023-02-27bytes, strings: avoid unnecessary zero initializationJoe Tsai
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