Email list hosting service & mailing list manager


Re: Partial sorting Pierpaolo Bernardi 10 Dec 2015 18:32 UTC

On Thu, Dec 10, 2015 at 6:02 PM, John Cowan <xxxxxx@mercury.ccil.org> wrote:
> Pierpaolo Bernardi scripsit:

>> I can't see any use of a stride parameter which isn't really a bad
>> practice, which needs not to be encouraged by providing support to it.
>
> Please explain.

The only situation I can imagine where this feature could be used is
when an array is used to hold in consecutive locations the components
of a structure, instead of using an array of structures.  This is a
practice which (maybe) was justified in Fortran 66, and has no place
in a modern library.

If there are other, more legitimate, uses then I'd like to know them.