summaryrefslogtreecommitdiff
path: root/benchmark/string_split.yml
blob: 84ffe8f6a7009343ee6eefd7417df63ce453fca8 (plain)
1
2
3
4
5
6
7
prelude: |
  str0 = [*0..9].join("")
benchmark:
  to_chars-1: str0.split('')
  to_chars-10: (str0 * 10).split('')
  to_chars-100: (str0 * 100).split('')
  to_chars-1000: (str0 * 1000).split('')