Hacker News new | ask | show | jobs
by Waterluvian 2701 days ago
Oh not bad. I wasn't aware of that!

I'm guessing it constructs the whole array upfront. Maybe there's a generator way to do it too.