3 ms·
I would even say that it is optimized for the following slice[start.end] particularly because `[]` indexing is already a panicky operation.
by estebank 6y ago
I would even say that it is optimized for the following
slice[start.end]
particularly because `[]` indexing is already a panicky operation.
- dathinab 6y agoSure, get is like [] but without panic. I.e. slice.get(5..0) == None