Interesting. Is there a reason why the parsed AST size isn't used instead of raw source code size?
This is probably one of those heuristics that works well enough on enough real world code, even though everyone knows it's suboptimal. I've heard that the turbofan compiler will remove this limitation but that's still very much work in progress.