If we scale that effort up from 1k lines to 500k, I'd be spending a few thousand hours optimizing the implementation.
Even if I ended up with a project of 50k lines, that would take multiple times the effort it took me to get this app ready for the initial release.
Realistically, I wouldn't have finished the project at all.