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 14:04:39 +0300 Message-ID: <209683e1-be9d-f112-40e2-34ea2ffd5ed9@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> 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="13998"; 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: jdtsmith@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii , Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 31 13:05:15 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 1qbfUA-0003Mf-UR for ged-emacs-devel@m.gmane-mx.org; Thu, 31 Aug 2023 13:05:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qbfTm-0003MU-1M; Thu, 31 Aug 2023 07:04:51 -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 1qbfTg-00037n-SG for emacs-devel@gnu.org; Thu, 31 Aug 2023 07:04:46 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qbfTe-0008UJ-SG; Thu, 31 Aug 2023 07:04:44 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 2335B5C018E; Thu, 31 Aug 2023 07:04:42 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 31 Aug 2023 07:04:42 -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= 1693479882; x=1693566282; bh=Iin+qSU10uYfQhtJEqx0rljFZAUe8LEH1Cn IMTaoT90=; b=e0BeUuwyzn3+y8GVSxxD4HV71nGZaGY1SiGz31Ns9F9J9dQhXa3 NfC0HVtDXqJ5mbNJrpms+SyQq0zz6SeQznK4Vac8oMj0sxJ+1w9I4rdCfEC3ASN/ 8Cb3z2pQSNrwgn+Zyj2PeJhqGgeW0bpImJxCVOGvAmWUgdhdD+BqfDX7OrnXI/vl u+BSG/jky1A1PkEIXabTJJF75OpLv7f5HKUfsEOLrF85jTZWz1mwV5iTlHz3R2KH ntgXNkV4ScfROHuLaO40ksbzA58yjXx4u0pgrCfLaAZMNXXKJahL0v/AF4bmi9mb J0rY4rknRb2IGcQxy9y+JPi2stnrW0eQoFA== 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= 1693479882; x=1693566282; bh=Iin+qSU10uYfQhtJEqx0rljFZAUe8LEH1Cn IMTaoT90=; b=RzY31W2rjjoOe9UHSWJynAO4YhqJ+kPTUl0undxZUaNwCXHB9i6 2eEROOwDaLtULXD9gMFREHCLZczyAfGFlPqjGA3SmS+KWGKSnwhKE5mvkDo7xfwW iR/Af4iUAbmkqOPyFg7nA/mRRpgA+DRtrDj+3uH1+YbzaWvOta+JZ88S23p7lCTr H1zy/Mar+J0BUAXfPRpf1nk+XCd9ewOiTSVnCU4zk8gafQMW1FPHu/0gVQAadl1J T2pCi0z3chCAJfz+qVPX0QZtiMQ2SX0NZMF6f2SqxNAQWgjm3PJNdf7WY++gfO9L RZ19JW6nx+iENtXQyaXm0qVU7sHRIKw3nBQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudegtddgfeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepiefgteevheevveffheeltdeukeeiieekueefgedugfefgefhudelgfefveel vdevnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 31 Aug 2023 07:04:40 -0400 (EDT) Content-Language: en-US In-Reply-To: <831qfjg34v.fsf@gnu.org> Received-SPF: pass client-ip=66.111.4.26; envelope-from=dmitry@gutov.dev; helo=out2-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:309627 Archived-At: On 31/08/2023 09:03, Eli Zaretskii wrote: > Thanks, but why emacs-29? Is this a bugfix? Depending on the POV, O(N^2) performance for certain buffer interactions can be considered a bug.