aboutsummaryrefslogtreecommitdiff
path: root/lib/std/builtin.zig
diff options
context:
space:
mode:
authorRyan Liptak <squeek502@hotmail.com>2023-05-04 17:49:23 -0700
committerRyan Liptak <squeek502@hotmail.com>2023-05-13 13:43:50 -0700
commit9da3a9733db037d8391eb2b4ccb6c7db774a5dd5 (patch)
treed89ffa89da45157daaebd9ddd34a5a5af4749d5f /lib/std/builtin.zig
parentbda645d911fd79c5aba1f93c0877c7eb915ed709 (diff)
downloadzig-9da3a9733db037d8391eb2b4ccb6c7db774a5dd5.tar.gz
zig-9da3a9733db037d8391eb2b4ccb6c7db774a5dd5.zip
std.mem: Split `tokenize` into 3 versions by delimiter type: full, any, and scalar
This allows users to choose which version they need for their particular use case, as the previous default (now the 'any' version) was (1) not always the desired type of delimiter and (2) performed worse than the scalar version if the delimiter was a single item.
Diffstat (limited to 'lib/std/builtin.zig')
0 files changed, 0 insertions, 0 deletions