HF RL Explorer

In more itertools , peekable supports slice indexing. Fix the case where a reverse (negative-step) slice has…

In more itertools , peekable supports slice indexing. Fix the case where a reverse (negative-step) slice has…: a task in UltraTerminal (Harbor dataset). Current (broken) behavior: such slices cause the entire backing iterator to be consumed and cached. On an infinite iterator this hangs; on a…

The task

**Current (broken) behavior:** such slices cause the entire backing iterator to be consumed and cached. On an infinite iterator this hangs; on a large finite iterator it wastes memory.

Part of harness-hub/UltraTerminal.