Following up on the thread at 
[https://forum.nim-lang.org/t/3169](https://forum.nim-lang.org/t/3169), I took 
the code and replaced every instance of `a..<b` with `a..b-1` whether in `for i 
in a..<b` or in `arr[a..<b]` and the code was almost 2 seconds faster for one 
benchmark. So not only being confusing and non-intuitive it's way slower than 
using explicit numerical bounds.

In Ruby `a..b` is used to include `from a to b` whereas `a...b` is the 
equivalent of `a..b-1`.

Reply via email to