|
From: | Dmitry Gutov |
Subject: | Re: Speedup of display of long and truncated lines |
Date: | Sun, 21 Aug 2022 14:22:15 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 |
On 20.08.2022 19:22, Gregory Heytings wrote:
#!/bin/bash for i in $(seq 1 $1) do echo -n "INSERT INTO TABLE_$i VALUES " for j in $(seq 1 $2) do echo -n "(10,'100','QWERTY','Foo Bar Baz',50,4852,$j)" (($j == $2)) && echo -n ';' || echo -n ',' done echo doneWhich major mode is used for visiting such files?sql-mode
FWIW, my brief testing seems to show sql-mode's font-lock has similar performance to js-json-mode. Maybe like 1.5x slower in syntax-ppss (due to syntax-propertize-function being present), but that's it.
Tested with font-lock without narrowing, of course.
[Prev in Thread] | Current Thread | [Next in Thread] |