Andrea Canciani 2fd2670ea0 Unify computation of length in EscapeUnicode
The `offset` value was computed both in `next` and in `size_hint`;
computing it in a single place ensures consistency and makes it easier
to apply improvements. The value is now computed as soon as the
iterator is constructed. This means that the time to compute it is
spent immediately and cannot be avoided, but it also guarantees that
it is only spent once.
2016-01-28 15:13:42 +01:00
..
2016-01-14 23:02:32 -08:00
2016-01-21 20:49:10 +01:00
2015-11-12 05:16:08 +00:00
2015-12-21 09:26:21 -08:00
2016-01-26 14:23:38 +01:00
2015-12-21 09:26:21 -08:00
2015-12-21 09:26:21 -08:00