https://issues.dlang.org/show_bug.cgi?id=23755

Ate Eskola <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |INVALID

--- Comment #1 from Ate Eskola <[email protected]> ---
Nope. `until` is a lazy algorithm and it says it in it's documentation. To
return an array, it would have to work eagerly and therefore break it's
performance assumptions.

You can get a slice without copying it with `findSplitBefore`.

--

Reply via email to