On Friday, 20 February 2015 at 08:45:23 UTC, Ola Fosheim Grøstad
wrote:
On Friday, 20 February 2015 at 08:22:38 UTC, John Colvin wrote:
Maybe I'm missing something, but I don't see anything here
that isn't already covered by built-in slices, opSlice,
opSliceAssign and put.
That's the wrong direction. What you want is a means to query a
unknown container for it's properties so that you can bypass
builtin operators:
1. by comparing addresses of elements and be able to assume
strict order as you progress
2. by assessing compile time uniformity in distribution so that
you can iterate using SIMD.
Eh? Knowing the ordering and that the distribution is uniform*
isn't going to be enough to iterate by SIMD. You need to know the
complete iteration scheme.
*what do you even mean by that? Jargon is only useful when it's
used with precision.