SQLite Forum

SQLite3.exe fails to handle huge multi-line-comment
Yes, that's O n^2 expensive when the accumulation is not all whitespace. And it is easily fixed, as a check-in will soon show. Thanks for spotting this.

As for the O n^2 response to block-commented, ';'-terminated lines, that's a harder problem which I do not see as solvable in the 3.37 release timeframe.