From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?B?VHXhuqVuLUFuaCBOZ3V54buFbg==?= Newsgroups: gmane.emacs.devel Subject: Re: Reliable after-change-functions (via: Using incremental parsing in Emacs) Date: Thu, 2 Apr 2020 18:14:35 +0700 Message-ID: References: <83369o1khx.fsf@gnu.org> <83imijz68s.fsf@gnu.org> <831rp7ypam.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="42635"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , emacs-devel To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 02 13:15:52 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 1jJxp8-000Ax7-4M for ged-emacs-devel@m.gmane-mx.org; Thu, 02 Apr 2020 13:15:50 +0200 Original-Received: from localhost ([::1]:37030 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJxp6-0000OT-CL for ged-emacs-devel@m.gmane-mx.org; Thu, 02 Apr 2020 07:15:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47650) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJxoF-0008CV-Ou for emacs-devel@gnu.org; Thu, 02 Apr 2020 07:14:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJxoE-0002KF-QZ for emacs-devel@gnu.org; Thu, 02 Apr 2020 07:14:55 -0400 Original-Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]:53131) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jJxoD-0002JH-Aw; Thu, 02 Apr 2020 07:14:53 -0400 Original-Received: by mail-pj1-x1036.google.com with SMTP id ng8so1411546pjb.2; Thu, 02 Apr 2020 04:14:53 -0700 (PDT) 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:content-transfer-encoding; bh=dBWCn8ntK6PgU3oxw8sQRdZPYM2ENxI/xkYjNPW6fb8=; b=Rt5HI6pGBFS8Xs1uI7qoQp6tuY0W3boCnL8Qyrfd68Fe1hEp1+3zjVMfY1YKTBi8il y3imBZj6XAovubSfMJ54LunHai3iS89zqc/dIRBsGs4D3HWR3Ukq1hOzc47c+XOjeyY+ J/zgkInFRlyTZA5e7LzkaQYxofyFth3ZDgq+Cl67Xl/6ClwnUd5ZkAPOdJJBtXOGPBLD ExqQwUrhPkUsft09t+1kLWHXNf9RHFdFsNLN1ohfrgzrOFhDwXyW0rkSfYA9LR7PQkX9 QnnysPB1/WzBPQyqAox194DkBTYYmOGcC8hxT04GKZqKYsiXzBs98V258sP5YzP1P5hA dbIA== 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:content-transfer-encoding; bh=dBWCn8ntK6PgU3oxw8sQRdZPYM2ENxI/xkYjNPW6fb8=; b=owkyN8ZsZ8RGON0sleydcG3gFiFinCR5CLJWR+gQqlo0VayjUo6+TQpvc7UKNIcc5g RJgVNHYJmDZIUc6NrU+pkidOekDvd8hpMXUWZdEseXEQsE64r4IgHIQd7qAB9rmy3GxX 8kVloZA0KNxW4XNuHne6p0Y2kxOHCtQsPuN8ZXggiBmtW/l2NXScLqyvThTU7A8m259C dz/yeZfmIk3bCWpNrpUVMpKOiCaI+yhBi/SB5svPQwTqnYw/Zzll3kNCF6MvSSK5mmh9 h9oPSl379iaZ6TXqtag348tFI78M+YxLyeDBs0tETDgSO2AI3fAdRpu1ft9Q41tqqejF C9Ug== X-Gm-Message-State: AGi0PuYIXj457fqKXa0/p3FpPQ+ic+tQYT8hcMU2MAHxV2UqIlJnkWCs HG9AwitOfHTXNmUOpMZn7U97YE5jruYAEmEfYJI= X-Google-Smtp-Source: APiQypKdbOKhu+zuo9m1G09irk7cDCat2SAsQE7Vb/Vgzaql+SdynPE6PTPykPaa54IUL1Nir/eq2qMxA0qNWPI3qWY= X-Received: by 2002:a17:90a:e649:: with SMTP id ep9mr3071284pjb.161.1585826091972; Thu, 02 Apr 2020 04:14:51 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::1036 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:246250 Archived-At: On Thu, Apr 2, 2020 at 5:37 PM Andrea Corallo wrote: > > Tu=E1=BA=A5n-Anh Nguy=E1=BB=85n writes: > > > In principle (not in tree-sitter ATM), and in very specific cases, yes. > > IMO that's the wrong focus on a premature optimization anyway. As other= s > > noted, even in the pathological case of xdisp.c, the performance is > > acceptable. > > Please do not assume xdisp.c is the worst case scenario, I can testify > it is not :) > Fair enough. -- Tu=E1=BA=A5n-Anh Nguy=E1=BB=85n Software Engineer