From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Tree-sitter navigation time grows as sqrt(line-number) Date: Thu, 31 Aug 2023 15:51:10 +0300 Message-ID: <834jkfe5oh.fsf@gnu.org> 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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16932"; mail-complaints-to="usenet@ciao.gmane.io" Cc: casouri@gmail.com, jdtsmith@gmail.com, emacs-devel@gnu.org To: Dmitry Gutov , Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 31 14:51:39 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 1qbh99-0004CC-3u for ged-emacs-devel@m.gmane-mx.org; Thu, 31 Aug 2023 14:51:39 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qbh90-0003xz-6p; Thu, 31 Aug 2023 08:51:30 -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 1qbh8y-0003rs-81 for emacs-devel@gnu.org; Thu, 31 Aug 2023 08:51:28 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qbh8x-0003DH-St; Thu, 31 Aug 2023 08:51:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=iIQcZczAeTk78qMErLFS9MlphRNVWqJ6uSQg68TwlW0=; b=WEMNE0+RpGPy LiRenRkOD6nltcKRr/LzGoTR3ZgktGmD8xU0c/Vw256eaJQQIIfdg4aZQ5clsLTNZbnaX16JP9KHw ABkzJLD4sKwqQPZystyplmKuXu0eT2rEbUVuI2lVD+3Pm7pLdf+Z/PAmJjJGzojdOZDqH2g6M6bqE IPJ5XIQcdZw0nCtW6CUJnfXIDvbNTau5sOeP4L9bxAPaPb2P9/681d6KthdL9vutof5Nhsbe2WMSL bku+VfuWVEX8KAKZCi5HLvMI05GMhhOS9j+1L+8eS6AQJyjPAh0neQNFsmGnwxzDbSzWaaFANrXYg i8OXFKj0+2dplJgpAZnQgw==; In-Reply-To: <209683e1-be9d-f112-40e2-34ea2ffd5ed9@gutov.dev> (message from Dmitry Gutov on Thu, 31 Aug 2023 14:04:39 +0300) 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:309643 Archived-At: > Date: Thu, 31 Aug 2023 14:04:39 +0300 > Cc: jdtsmith@gmail.com, emacs-devel@gnu.org > From: Dmitry Gutov > > 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. Performance improvement is an enhancement. Unless the performance is very bad, I don't think its place is on the release branch, especially after the major release. Stefan, WDYT?