Avoid using Array.prototype.shift()
Avoid using Array.prototype.shift()

Turns out O(n^2) operations can have a huge impact in performance 😅

This change reduces the time to load a 100k line from 20s to 200ms in my machine.

kactus-io/kactus,j-f1/forked-desktop,artivilla/desktop,j-f1/forked-desktop,shiftkey/desktop,kactus-io/kactus,shiftkey/desktop,j-f1/forked-desktop,shiftkey/desktop,j-f1/forked-desktop,artivilla/desktop,say25/desktop,artivilla/desktop,say25/desktop,artivilla/desktop,desktop/desktop,say25/desktop,desktop/desktop,desktop/desktop,shiftkey/desktop,kactus-io/kactus,desktop/desktop,kactus-io/kactus,say25/desktop