> Can this be improved with next SQLite3 version 3.37 ? For the case where few of the block-commented lines are semicolon-terminated, the CLI code now on trunk is quite fast. (about 1.6e6 40-char lines/second on my Gen 7 Core i7 machine) Avoiding the O n^2 issue that Richard mentioned is a harder nut to crack, unlikely to be done soon.