Good point! Turns out that calling `arange` ends up being up to 10 times slower (overhead of creating an array), but using slice syntax (`data[start:end] = 0`) is both fast and terse.