From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Anand Tamariya <atamariya@gmail.com> Newsgroups: gmane.emacs.devel Subject: Re: Semantic font-lock for Java Date: Tue, 28 Jan 2020 21:20:53 +0530 Message-ID: <CADm7Y4mqXxQBbFd=c+gGDpsrjQGgsmrHuhgq6Yc5vjNz2+epPw@mail.gmail.com> References: <CADm7Y4mgswK2UmTG8ivPZZNXV-WfJBUrBeMhoOLqran4ng_BTg@mail.gmail.com> <83eevsx1eh.fsf@gnu.org> <CADm7Y4=isYoz05oYk+J597WykFqfbtr7JcxELeYE2-Fq9n7aig@mail.gmail.com> <83wo9jtncf.fsf@gnu.org> <CADm7Y4kk14xxx1b7heTJYusC+Kqvqadr2c4DXQGEy_63bp-W2A@mail.gmail.com> <83iml1s3od.fsf@gnu.org> <CADm7Y4=OJraN_DFQtWF=3hsPWQi8+rLcvz4nO5sGQXzyDz6D9w@mail.gmail.com> <83k15grflg.fsf@gnu.org> <87tv4kyelp.fsf@randomsample> <83iml0r5fw.fsf@gnu.org> <87pnf8y4i8.fsf@randomsample> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000000516c6059d353110" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="9505"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org To: David Engster <deng@randomsample.de> Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 28 16:52:03 2020 Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org> Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>) id 1iwT9n-0002R6-Df for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Jan 2020 16:52:03 +0100 Original-Received: from localhost ([::1]:60716 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>) id 1iwT9m-0005Ni-EI for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Jan 2020 10:52:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40272) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <atamariya@gmail.com>) id 1iwT8u-0004g0-MC for emacs-devel@gnu.org; Tue, 28 Jan 2020 10:51:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <atamariya@gmail.com>) id 1iwT8t-0005ic-FH for emacs-devel@gnu.org; Tue, 28 Jan 2020 10:51:08 -0500 Original-Received: from mail-io1-xd33.google.com ([2607:f8b0:4864:20::d33]:39026) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <atamariya@gmail.com>) id 1iwT8s-0005b4-1v; Tue, 28 Jan 2020 10:51:06 -0500 Original-Received: by mail-io1-xd33.google.com with SMTP id c16so14777766ioh.6; Tue, 28 Jan 2020 07:51:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7cGQ+Exdo7YnRHMx4pXJRq4lMh8VaQNlLfriv0Sy/jg=; b=SgpuS9Pan5DsuThpT4GXRGxvaJTrua9nXNZrqaRVb1uPQrrly1KmHh2kwLInCEL2yE HGsSKOCwXIWSdgpGxWsLyguE65XswJBaP2PXHW3Sm/KELwysILFMYPhSK5e2m0XjOl5u 685n/vm23nnCArkFlHoZatP6Ec3fYjSXOC4we92ik+GPmO5ROW8gaLxG/fDfJirEaVyH S6XyWAHO5UoCOaWYVfEb9O3b37Dv6U2FXskOkwIbRk6d7LMMTBzBRFx/uWnLFjm2u2yf JFQgcoMJt1xQoS2STCM4ZF3IbBCQU1sw+zUL06ZIDQx1M+iqwYs3dbKCoVndat+IO4RZ /Kxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7cGQ+Exdo7YnRHMx4pXJRq4lMh8VaQNlLfriv0Sy/jg=; b=MbneeQtJg3aAliZpgb3k5G9q1xv/EGYUpjiLmx39ADSN3QTC1Xo/wgPx7C0+IADvJc Lx7w70Cv6IUpHUwuLOFwN2LtlBGa+0HJxxgRxY2hPf5J/WMvVvH9RqOUOekjhs1GkCPZ d+c5Y/WnmLtbZ27WzROwy7PCxPdUkW3fdrgxuGOZnj/urMShNzHThswcWw9umZ7wdD/E bjOUmNmbRz6xxiTNiNqDMGGuERHZHcRPT0jCaChJsRVZZ5t+cserTdSOEXMI2/bpKf/T UiO5+2W67TtN+wsG5Q9kfqJT6/8Q823NkyQjOHLE70xJlLS7dTu6RvuS2aYHljVr9K54 LWzg== X-Gm-Message-State: APjAAAVWN2xhwuoYacEKXdfUGvd/ATe2g3xvAu62MaoKyi9yQ1Daf8Uc W/gkzZxdzkDz2AR9H0bnHkJb+XSW9ZsRGJctiVVrFu/XleE= X-Google-Smtp-Source: APXvYqwafDqUT++26DtWfo3Mv9hYxYEA8trJjuiFvV5CZF5zfFNhXsd7NgcAYK0jjZYI5ntB+kb4Y16VHfHNsk7mNWE= X-Received: by 2002:a02:c558:: with SMTP id g24mr18243692jaj.81.1580226664796; Tue, 28 Jan 2020 07:51:04 -0800 (PST) In-Reply-To: <87pnf8y4i8.fsf@randomsample> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::d33 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." <emacs-devel.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>, <mailto:emacs-devel-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-devel> List-Post: <mailto:emacs-devel@gnu.org> List-Help: <mailto:emacs-devel-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>, <mailto:emacs-devel-request@gnu.org?subject=subscribe> Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org> Xref: news.gmane.io gmane.emacs.devel:244710 Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/244710> --0000000000000516c6059d353110 Content-Type: text/plain; charset="UTF-8" > So my guess is the scroll benchmark is simply 17% slower > >> because there are more overlays in the buffer, not because of actual > parsing. > Perfect explanation David. Though I'll add that parsing is not terribly slow. It's usable. Here's a demo video showcasing the same https://youtu.be/4UcPIdTJLOM . --0000000000000516c6059d353110 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">=C2=A0<div class=3D"gmail_quote"><blockquote class=3D"gmai= l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,20= 4,204);padding-left:1ex">So my guess is the scroll benchmark is simply 17% = slower<br><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" styl= e=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddin= g-left:1ex"> </blockquote></div>because there are more overlays in the buffer, not becau= se of actual<br> parsing.<br></blockquote><div>Perfect explanation David. Though I'll ad= d that parsing is not terribly slow. It's usable. Here's a demo vid= eo showcasing the same <a id=3D"gmail-watch-url" target=3D"_blank" class=3D= "gmail-style-scope gmail-ytcp-video-share-dialog" href=3D"https://youtu.be/= 4UcPIdTJLOM">https://youtu.be/4UcPIdTJLOM</a> .<br></div><div><br></div></d= iv></div> --0000000000000516c6059d353110--