Joined: 16/09/2019 Location: United KingdomPosts: 4048
Posted: 07:24pm 27 Apr 2020
I haven't had opportunity to measure it myself, but isn't that perceptibly slower than printing as you go along?
Aside: it also uses more memory but that isn't an issue for such a small program and in any case you are already using 4 bytes to store each cell where you only need 1 bit.