summaryrefslogtreecommitdiff
path: root/src/bytes/bytes.go
Commit message (Expand)AuthorAgeFilesLines
* bytes, strings: optimize Trim for single byte cutsetsJoe Tsai2021-08-251-5/+23
* bytes, internal/bytealg: fix incorrect IndexString usageMichael Munday2020-09-231-18/+32
* bytes: simpler and faster FieldsFunc (apply same changes as for strings)Robert Griesemer2020-05-011-10/+11
* bytes, strings: align requirements for functions passed to FieldFuncsMartin Möhrmann2020-04-291-2/+3
* bytes: narrow the search of IndexByte in IndexAndy Pan2020-03-231-4/+4
* strings, bytes: improve IndexAny and LastIndexAny performanceerifan012020-03-111-8/+89
* bytes, strings: moves indexRabinKarp function to internal/bytealgerifan012020-03-041-64/+4
* strings, bytes: clarify usage of EqualFoldsAndrew Medvedev2019-09-211-1/+2
* strings, bytes: add ToValidUTF8Martin Möhrmann2019-05-011-0/+29
* bytes, internal/bytealg: simplify EqualJosh Bleecher Snyder2019-04-241-14/+3
* bytes: optimize ToLower and ToUpper for ASCII-only caseTobias Klauser2019-04-091-4/+59
* bytes: make TrimSpace return nil on all-space inputBen Hoyt2019-03-271-0/+5
* bytes, strings: speed up TrimSpace 4-5x for common ASCII casesBen Hoyt2019-03-121-1/+30
* bytes: return early in Repeat if count is 0Tobias Klauser2019-03-091-1/+4
* bytes: use Rabin-Karp algorithm for LastIndexTobias Klauser2019-03-081-4/+43
* strings,bytes: use inlineable function trampolines instead of linknameKeith Randall2018-11-081-0/+19
* bytes, strings: add ReplaceAllBrad Fitzpatrick2018-09-261-0/+9
* strings, bytes: optimize function Indexerifan012018-09-131-13/+15
* strings, bytes: avoid unnecessary function literalsJohan Brandhorst2018-08-221-3/+3
* bytes, strings: improve EqualFold fast version for ASCIIEric Pauley2018-05-011-3/+3
* internal/bytealg: move short string Index implementations into bytealgKeith Randall2018-03-041-0/+86
* internal/bytealg: move Count to bytealgKeith Randall2018-03-041-2/+7
* bytes, strings: restore O(1) behavior of IndexAny(s, "") and LastIndexAny(s, "")Russ Cox2017-11-151-0/+8
* bytes,strings: in generic Index, use mix of IndexByte and Rabin-KarpKeith Randall2017-11-151-0/+43
* bytes: set cap of slices returned by Split and Fields and friendsIan Lance Taylor2017-11-031-5/+5
* bytes: correct Map documentationGabriel Aszalos2017-10-041-1/+1
* bytes: explicitly state if a function expects UTF-8-encoded dataTim Cooper2017-10-021-25/+27
* bytes: improve readability of IndexAny and LastIndexAny functionsGabriel Aszalos2017-09-251-35/+31
* all: unindent some big chunks of codeDaniel Martí2017-08-181-27/+28
* bytes: speed up Fields and FieldsFuncMartin Möhrmann2017-08-141-28/+86
* bytes, strings: declare variables inside loop they're used inEric Lagergren2017-04-031-1/+1
* all: fix minor misspellingsEric Lagergren2017-04-031-1/+1
* bytes: add optimized countByte for amd64Josselin Costanzi2017-03-211-3/+2
* bytes, strings: optimize Split*Aliaksandr Valialkin2017-02-081-11/+12
* bytes: use Index in CountIlya Tocar2017-02-081-23/+9
* bytes, strings: optimize for ASCII setsJoe Tsai2016-10-281-5/+60
* bytes, strings: fix regression in IndexRuneJoe Tsai2016-10-261-4/+19
* bytes, strings: fix snake-case in variable nameJoe Tsai2016-10-261-6/+6
* strings, bytes: panic if Repeat overflows or if given a negative countEmmanuel Odeke2016-10-011-0/+13
* bytes: make IndexRune fasterHiroshi Ioka2016-09-061-7/+5
* bytes: Use the same algorithm as strings for IndexIlya Tocar2016-09-011-31/+0
* bytes: add ContainsRuneEmmanuel Odeke2016-04-081-0/+5
* bytes: add ContainsAnyRob Pike2016-04-061-0/+5
* all: single space after period.Brad Fitzpatrick2016-03-021-9/+9
* bytes, strings: add LastIndexByteDmitry Vyukov2015-04-301-0/+10
* bytes, os/exec, strings: fix a few BUG commentsareski2015-03-201-1/+1
* bytes, strings: improve documentation for Count functionsRobert Griesemer2015-01-221-1/+2
* bytes, strings: document that FieldsFunc f must not be statefulRuss Cox2014-09-181-0/+2
* build: move package sources from src/pkg to srcRuss Cox2014-09-081-0/+701