github-actions · GitHub

@github-actions Bot added the domain: vrl

Anything related to the Vector Remap Language

label

Aug 1, 2022

briankung

@briankung

@briankung

@jszwedko

jszwedko

fuchsnj

briankung

@briankung briankung changed the title WIP: feat(vrl): Adds chunks function feat(vrl): Adds chunks function

Aug 12, 2022

fuchsnj

fuchsnj

fuchsnj

fuchsnj

@jszwedko

fuchsnj

@briankung

- Check that the chunk_size is at least 1 byte
- Split out the chunk loop from the unicode code point backtracking
    so that the bounds check is not performed on every loop.
    Also labeled the loops because it's prettier that way.
- Remove redundant vectorization of iterator
- Change error messages to be less confusing
Still looking for ways to reorganize this code to be a little easier
on the eyes.
…usize::MAX

@briankung

Spencer Gilbert

@fuchsnj

@briankung

jdrouet pushed a commit that referenced this pull request

Aug 22, 2022

Closed

Read the original on github.com ↗