Hacker News new | ask | show | jobs
by hammond 482 days ago
> Optimizing and doing it with matrices brought it down to 20 minutes

What was the final run time?

1 comments

11 seconds in colab implementing the basic transformation with reshape, roll, and flatten

4 seconds in google apps script by handling indices in loops instead of rearranging elements