PART 1 - TONS OF PUNKS, ONE BIG JERK CHAPTER 4: KEYSTROKES AND BRUSHSTROKES Compressive Side

"ThePrimeagen says he often finds accumulated design choices becoming consequential around 5,000 to 10,000 lines of code and uses that stage to reassess architecture, testing, and scalability."

At 3:02:51 onward he describes this range as the point where his earlier design decisions start constraining or helping the project and where he learns the most. He explicitly notes that other programmers may have different numbers.