From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Tree-sitter navigation time grows as sqrt(line-number) Date: Thu, 31 Aug 2023 20:49:45 +0300 Message-ID: <1742902c-a0dc-3671-c372-074329a81777@gutov.dev> References: <3E82D409-6903-4679-9031-939CA35791FF@gmail.com> <32507689-3b2c-ccbf-dd14-e7bf0bed1ac7@gutov.dev> <6db52945-5459-197c-405d-153ff395a824@gutov.dev> <1F7C956D-6D22-4CC1-8656-6E2A4D07D5FB@gmail.com> <69D18963-D94F-4792-9FF1-159897A99E50@gmail.com> <48CD64C5-CC2A-42C5-8496-33B188497B99@gmail.com> <831qfjg34v.fsf@gnu.org> <209683e1-be9d-f112-40e2-34ea2ffd5ed9@gutov.dev> <834jkfe5oh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1940"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: casouri@gmail.com, jdtsmith@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii , Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 31 19:50:50 2023 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 1qblog-0000Le-5o for ged-emacs-devel@m.gmane-mx.org; Thu, 31 Aug 2023 19:50:50 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qblnl-0007Y3-Qk; Thu, 31 Aug 2023 13:49:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qblnj-0007MZ-JP for emacs-devel@gnu.org; Thu, 31 Aug 2023 13:49:51 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qblnh-0002wz-BZ; Thu, 31 Aug 2023 13:49:51 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 0B8875C0180; Thu, 31 Aug 2023 13:49:48 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 31 Aug 2023 13:49:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1693504188; x=1693590588; bh=UeQO+bXaIka3spmGV1zK4wNqN2FX2x7ANO4 3sXcfW5A=; b=ntafWsnoeXjATnIX7QO4uM9weKbROrUdp8AlDVGyZlfEQU2B8SF Hs5NFxmjD1JVp6ktFvdF1oTFkxilMSDQwuIoVR7/o5iavXBKuQy+Gr4EoiBZeu5r P3p3G+kC3f639lLdkg2e7o2oixAlP0dXyJbMSHgyHadjClIyplKgplrJa6pketeF ZalrSd0K7YKoP0RpBa6Qukuv7rsdoHXs1ywVXbOUOpUmfwqnP6sE4H8/EEGk3pu/ 4SJ2aCeqabyswhm0nJ5GTulmKi9XnQ8TizPLSpc/jcQMuoh32xrN1Qf5PDA8Vee2 PR4Xe2GIczkNK1XaWq4p2My7Bkqw+/NIf/A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1693504188; x=1693590588; bh=UeQO+bXaIka3spmGV1zK4wNqN2FX2x7ANO4 3sXcfW5A=; b=szk50Fg9rIpBbCBqaBBOOctbiGa/KsipuanMnhWKX2OklDzI+z5 N+VTtdveG4qkN9lyvKRbaHR6F78m0Du53TDi2PGv2u2Icrddph5havSgZ/0DgGA1 fxVJ5J6RwU6oq0gMKDfDQHU4M4z8zd6dfBQuH+SdSMHyaaQcLrPOHu8m6MrpXfNu 4sqP3ofTxuKFvPE8EMXHlaWEsaf093upRFsiVW2jwe2UEAlt6dLuDxUUBdF1s9n1 UGBzcDl1oal9BYuDJWchnS3YRafYktAN1LkAtTzsB+XcICCkarEm6p25SJi3LtGO VKwa63rqKf+2t4WoVNzMKD3YAgldoqC5fnQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudegtddguddukecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttdefjeenucfhrhhomhepffhm ihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrg htthgvrhhnpeeigfetveehveevffehledtueekieeikeeufeegudfgfeeghfdulefgfeev ledvveenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe gumhhithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 31 Aug 2023 13:49:46 -0400 (EDT) Content-Language: en-US In-Reply-To: <834jkfe5oh.fsf@gnu.org> Received-SPF: pass client-ip=66.111.4.25; envelope-from=dmitry@gutov.dev; helo=out1-smtp.messagingengine.com X-Spam_score_int: -62 X-Spam_score: -6.3 X-Spam_bar: ------ X-Spam_report: (-6.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-3.478, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:309688 Archived-At: On 31/08/2023 15:51, Eli Zaretskii wrote: > Unless the performance is > very bad, I don't think its place is on the release branch, especially > after the major release. There was a complaint on Reddit about rust-ts-mode's syntax-highlighting performance is certain large (but not huge) files.