From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Sebastian Sturm Newsgroups: gmane.emacs.devel Subject: Re: State of the overlay tree branch? Date: Mon, 19 Mar 2018 16:07:12 +0100 Message-ID: <5155d5e2-6b5c-581e-89fe-4f3af717304f@arkona-technologies.de> References: <834lldp18f.fsf@gnu.org> <9646341d-700b-4240-216b-8c0e753fa79f@arkona-technologies.de> <86d03e78-9984-f33e-a3f3-3faa4b34d78b@arkona-technologies.de> <83vadso9ad.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1521471964 21649 195.159.176.226 (19 Mar 2018 15:06:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Mar 2018 15:06:04 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 19 16:06:00 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1exwMF-0005QA-PY for ged-emacs-devel@m.gmane.org; Mon, 19 Mar 2018 16:05:55 +0100 Original-Received: from localhost ([::1]:42453 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1exwOJ-00048u-0o for ged-emacs-devel@m.gmane.org; Mon, 19 Mar 2018 11:08:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1exwNb-00048P-MA for emacs-devel@gnu.org; Mon, 19 Mar 2018 11:07:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1exwNX-0004Ds-HP for emacs-devel@gnu.org; Mon, 19 Mar 2018 11:07:19 -0400 Original-Received: from smtp-out002.kontent.com ([81.88.40.216]:39139) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1exwNX-0004Bx-9r for emacs-devel@gnu.org; Mon, 19 Mar 2018 11:07:15 -0400 Original-Received: from [172.16.222.49] (unknown [213.157.6.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: arkona-technologies_de_22@smtp-out002.kontent.com) by smtp-out002.kontent.com (Postfix) with ESMTPSA id 15FB9C003F9D8 for ; Mon, 19 Mar 2018 16:07:13 +0100 (CET) In-Reply-To: Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 81.88.40.216 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:223819 Archived-At: for the file I was complaining about, the number returned is 3080=20 (doesn't exceed the number of chars though, (point-max) =3D 67641). Will=20 try to obtain usable timing data later today when I get home from work.=20 Thanks! On 03/19/2018 03:56 PM, Stefan Monnier wrote: >> well no, it's about 2.5ms per call to line-number-at-pos, which is cal= led at >> least 6 times per character insertion (with my Emacs config, at >> least). Which already makes for 15ms per character insertion, excludin= g >> anything else done by cc-mode or lsp-mode. >=20 > Since you say that the noverlay branch helps, could you check the numbe= r > of overlays involved? E.g. >=20 > M-: (length (overlays-in (point-min) (point-max))) RET >=20 > If there are more overlays than chars in this buffer, maybe there's > a problem in some Elisp that creates too many overlays? >=20 > If there aren't that many overlays, then I wonder why the noverlays > branch would make such a significant difference. >=20 > Also, if you can reliably reproduce the "slow editing", would it be > possible to make a recipe for it that we can try and reproduce on > our side? >=20 >=20 > Stefan >=20 >=20 --=20 Sebastian Sturm Research & Development Phone: +49 (0) 6155 7808977 Fax: +49 (0) 6155 7802880 Email: s.sturm@arkona-technologies.de Web: www.arkona-technologies.de arkona technologies GmbH Im Leuschnerpark 4 64347 Griesheim Germany Amtsgericht / Commercial Register of Darmstadt, HRB 90080 USt-ID: DE273794666 Steuernummer / Tax-ID: 007 / 228 / 19331 Gesch=C3=A4ftsf=C3=BChrung / Managing Director: Rainer Sturm This e-mail may contain confidential and/or privileged information. If=20 you are not the intended recipient (or have received this e-mail in=20 error) please notify the sender immediately and delete this message and=20 any attachments from your system. Any unauthorised copying, disclosure=20 or distribution of the material in this e-mail is strictly forbidden. We cannot accept any responsibility for the accuracy or completeness of=20 this message as it has been transmitted over a public network. If,=20 despite our use of anti-virus software, a virus enters your systems in=20 connection with the sending of the e-mail, you may not hold us liable=20 for any damages that may possibly arise in that connection. We will=20 accept liability which by law we cannot exclude.