Inlined the `Range()` implementation to avoid adding overhead.
Signed-off-by: Marco Pracucci <marco@pracucci.com>