Date: Sat, 25 Feb 2023 10:15:12 -0800
On Friday, 24 February 2023 14:39:23 PST Eugene Gershnik via SG16 wrote:
> 1. Is it a problem if reverse iteration produces different output. Yes it
> is, at least for user algorithms, even if no standard algorithms would be
> affected
Would it be a problem for *invalid* input to produce asymmetric results?
I think we can all agree that reverse iteration of valid input should produce
the same output, just in reverse. But I haven't seen the discussion on the
merits of invalid input producing the same sequence in reverse. For one thing,
you usually can't recreate the original UTF-8 input from the output.
> 1. Is it a problem if reverse iteration produces different output. Yes it
> is, at least for user algorithms, even if no standard algorithms would be
> affected
Would it be a problem for *invalid* input to produce asymmetric results?
I think we can all agree that reverse iteration of valid input should produce
the same output, just in reverse. But I haven't seen the discussion on the
merits of invalid input producing the same sequence in reverse. For one thing,
you usually can't recreate the original UTF-8 input from the output.
-- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DCAI Cloud Engineering
Received on 2023-02-25 18:15:15