It is, but consider what the output of `range(1, 1000)` would be. It'd write `array(1, 2, 3, ..., 1000)` to the template file which is much more expensive than just calling `range(1, 1000)`.