spliced2

@trusted
spliced2
(
T
)
(
T[] x
)

Return Value

Type: auto

x eagerly split in two parts, all as equal in length as possible.

Safely avoids range checking thanks to D's builtin slice expressions. Use in divide-and-conquer algorithms such as quicksort and binary search.

Meta