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.bugs Subject: bug#71644: 30.0.50; Severe slowdown in larger files with markers beginning in emacs 29+ Date: Sat, 22 Jun 2024 17:12:47 +0300 Message-ID: <86iky1gj6o.fsf@gnu.org> References: <87zfrdgk3f.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24795"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mitchellahren@gmail.com, 71644@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 22 16:13:24 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1sL1UY-0006FM-8q for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 Jun 2024 16:13:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sL1UG-0006Bq-UA; Sat, 22 Jun 2024 10:13:05 -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 1sL1UE-0006Bb-RD for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2024 10:13:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sL1UE-0005Qj-J9 for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2024 10:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sL1UE-0006nZ-Az for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2024 10:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Jun 2024 14:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71644 X-GNU-PR-Package: emacs Original-Received: via spool by 71644-submit@debbugs.gnu.org id=B71644.171906558126126 (code B ref 71644); Sat, 22 Jun 2024 14:13:02 +0000 Original-Received: (at 71644) by debbugs.gnu.org; 22 Jun 2024 14:13:01 +0000 Original-Received: from localhost ([127.0.0.1]:47362 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sL1UC-0006nK-So for submit@debbugs.gnu.org; Sat, 22 Jun 2024 10:13:01 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60506) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sL1UA-0006my-4F for 71644@debbugs.gnu.org; Sat, 22 Jun 2024 10:12:59 -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 1sL1U4-0005M8-4V; Sat, 22 Jun 2024 10:12:52 -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=mmU3Hqlq3zYUZenhbQ8yjLn/cpy9S2tFJRXPQ6Wk14Y=; b=g3W7SNUh9zQ/ 6q/oXO2LvdGoNwv0NlNDkfOzMiS8x2CfVnIOVGLzQPB2qUPr7sXLEUaCK7lgEcAemLjeHKk8HB+h0 rTv1ENxEV63vTo5myLvX2uqsW1RgoB2wA0leNSFKsIcqTZmR7xkrwYM60haiLaYxTH89KtvI7ZZ7o rzG7Y0pjOw8ZDmU4a/mviB4yGa/PyZtv5LtdXEF6FEvRkblPgi4cyZaHSyXfRlhpixzwiq/j7b1Qn 9mc36v860U5+kAheu7858ThOUYcpukpkTIpkZKTOGdJUAF+fs+AGB2bxk4NLEuF1oSeBd2YlF4DIX XQnQDnKZwUgDe8ZmnvK25Q==; In-Reply-To: <87zfrdgk3f.fsf@localhost> (message from Ihor Radchenko on Sat, 22 Jun 2024 13:53:08 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:287708 Archived-At: > Cc: 71644@debbugs.gnu.org > From: Ihor Radchenko > Date: Sat, 22 Jun 2024 13:53:08 +0000 > > Mitchell writes: > > > Here are the steps to reproduce the issue: > > ... > > For the record, I am able to reproduce the problem using the latest > Emacs master. > > And the problem does disappear with my patch that affects the marker > loop in src/marker.c (buf_bytepos_to_charpos) > > So, markers appear to be the culprit on my system. Not the markers, but conversion of character positions to buffer positions. Which uses markers, but that's an implementation detail...