|
From: | Eli Zaretskii |
Subject: | Re: Major modes using `widen' is a good, even essential, programming practice. |
Date: | Sun, 07 Aug 2022 21:59:22 +0300 |
> From: Óscar Fuentes <ofv@wanadoo.es> > Date: Sun, 07 Aug 2022 20:49:03 +0200 > > Eli Zaretskii <eliz@gnu.org> writes: > > >> > Yes, and that's SLOOOWWWW! > >> > >> It's not slow on files of reasonable size. E.g. even if we take xdisp.c > >> (the file I've seen referred to in complaints on CC Mode's speed), > >> > >> (benchmark 1 '(save-excursion (parse-partial-sexp (point-min) > >> (point-max)))) > >> > >> reports 20-50 ms on my machine. > > > > It takes 0.5 sec here. > > Is that the unoptimized build you usually work with? Yes.
[Prev in Thread] | Current Thread | [Next in Thread] |