From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Anand Tamariya Newsgroups: gmane.emacs.devel Subject: Re: Semantic font-lock for Java Date: Tue, 28 Jan 2020 21:20:53 +0530 Message-ID: References: <83eevsx1eh.fsf@gnu.org> <83wo9jtncf.fsf@gnu.org> <83iml1s3od.fsf@gnu.org> <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 , emacs-devel@gnu.org To: David Engster Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 28 16:52:03 2020 Return-path: 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 ) 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 ) 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 ) 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 ) 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 ) 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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:244710 Archived-At: --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
=C2=A0
So my guess is the scroll benchmark is simply 17% = slower
because there are more overlays in the buffer, not becau= se of actual
parsing.
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 https://youtu.be/4UcPIdTJLOM .

--0000000000000516c6059d353110--