aboutsummaryrefslogtreecommitdiff
path: root/src/bytes/bytes.go
AgeCommit message (Expand)Author
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
2017-04-03all: fix minor misspellingsEric Lagergren
2017-03-21bytes: add optimized countByte for amd64Josselin Costanzi
2017-02-08bytes, strings: optimize Split*Aliaksandr Valialkin
2017-02-08bytes: use Index in CountIlya Tocar
2016-10-28bytes, strings: optimize for ASCII setsJoe Tsai
2016-10-26bytes, strings: fix regression in IndexRuneJoe Tsai
2016-10-26bytes, strings: fix snake-case in variable nameJoe Tsai
2016-10-01strings, bytes: panic if Repeat overflows or if given a negative countEmmanuel Odeke
2016-09-06bytes: make IndexRune fasterHiroshi Ioka
2016-09-01bytes: Use the same algorithm as strings for IndexIlya Tocar
2016-04-08bytes: add ContainsRuneEmmanuel Odeke
2016-04-06bytes: add ContainsAnyRob Pike
2016-03-02all: single space after period.Brad Fitzpatrick
2015-04-30bytes, strings: add LastIndexByteDmitry Vyukov
2015-03-20bytes, os/exec, strings: fix a few BUG commentsareski
2015-01-22bytes, strings: improve documentation for Count functionsRobert Griesemer
2014-09-18bytes, strings: document that FieldsFunc f must not be statefulRuss Cox
2014-09-08build: move package sources from src/pkg to srcRuss Cox