Hacker News new | ask | show | jobs
by dathinab 1302 days ago
also `slice.get()` will return on option

and using a range check manually before an index will normally optimize the internal bounds check away