I'm guessing because lists are usually backed by arrays that can support a get in constant time. Ranges and progressions rarely need a get and a get would provide no performance benefits over the client iterating over the range
➕ 1
h
hfhbd
09/18/2023, 7:05 AM
Alternatively you write it yourself. For some implementations you could easily write a constant version.
e
Ellen Spertus
09/19/2023, 6:32 PM
Thank you, @Jacob. As you probably know, there is an