From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#72830: Big rectangular selections are slow Date: Sun, 22 Sep 2024 11:32:18 -0400 Message-ID: References: <3F6C6CAB-8CD1-4336-B1D1-949E716139FE@gmail.com> <1B4E9D0B-2223-42D9-BA22-17A5F6F49F84@gmail.com> <0D0565B4-EF53-43B6-9B33-7EE1600E1AD3@gmail.com> <5F6C5DCE-88F0-446D-8CBD-5E9EE26FFFC6@gmail.com> <3413563D-0343-4764-8D44-DAE3D3642A80@gmail.com> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21017"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Michael Heerdegen , Eli Zaretskii , 72830@debbugs.gnu.org, Juri Linkov To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 22 17:33:01 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 1ssOa4-0005Fy-7W for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 22 Sep 2024 17:33:00 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ssOZn-00082M-Gu; Sun, 22 Sep 2024 11:32:43 -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 1ssOZl-000825-FV for bug-gnu-emacs@gnu.org; Sun, 22 Sep 2024 11:32:41 -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 1ssOZl-0005N7-67 for bug-gnu-emacs@gnu.org; Sun, 22 Sep 2024 11:32:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=x0MouS357YLOUR2QfKbnb3O7VAU9YobOgGJfhDQMYVo=; b=Tfc0tYtL7Px2oJYoX4StUcIalQoaLbNhjtyZPFy2HxxXzjrVRVK04Z9cPLXkR8xtEHx1FO6IZ1bbsAun+N1y3mBu5odj4DwkEPonIgY1ZfSUjPp9W6JBj7wQCm4IED6DInORA8oJcEkyiOfm08VKMTz+RwHahSBqG/9SN+vhFQFEQCpa54pQ5ANIdZ2LTRATyMXB49IvEmkjyOWFaNo+aJ9tz05xAGdJHuvFhNMf1OtFuJxE75Cuur1pNyhks23WeCBIZWBkXeklIg0aOm2ceHbrNDUhpy8mjUEUdomUkIYWTALtmvLYrcYc4uGN+f+v+uaDuxjDRg7fBg5jKqlvhA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ssOa6-0001gl-HN for bug-gnu-emacs@gnu.org; Sun, 22 Sep 2024 11:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Sep 2024 15:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72830 X-GNU-PR-Package: emacs Original-Received: via spool by 72830-submit@debbugs.gnu.org id=B72830.17270191716470 (code B ref 72830); Sun, 22 Sep 2024 15:33:02 +0000 Original-Received: (at 72830) by debbugs.gnu.org; 22 Sep 2024 15:32:51 +0000 Original-Received: from localhost ([127.0.0.1]:42655 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ssOZv-0001gI-Hq for submit@debbugs.gnu.org; Sun, 22 Sep 2024 11:32:51 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:36775) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ssOZs-0001g5-Ma for 72830@debbugs.gnu.org; Sun, 22 Sep 2024 11:32:50 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id A8B98441861; Sun, 22 Sep 2024 11:32:20 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1727019139; bh=67qD1omW2NCKjZWgqLg4CsUYMJEGom56jhIYL/xjB2Y=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=ABDB1IQFhOLLpR6UbtUjzyWGNyhO7DA7d/mAm8jKyuUSCwcLfTvspAXwflbW3DTh5 6XhY2KhSg+U2e75syvUtVEvWnQ94iZjRnSF4uHm44gx0Q1551cOG/u0YIAyndMt42P OIJeqV8vY7JDphKcjZ8JXDXvwgOYxy0uUinrLErW5KxnuHciaaccetUu8kImyzy22G 7x2zVccxiKhvKKPhmC+AJdS+LKzy02lrj8ql0wMPHUw/OVVkK8xbxbfyfQJDNN0lgR TUyb/pIEt28wgwsT6Bz588RL3hEn1tQwKAS3CneRQOR5qmKPw7ZALzx00zF6x1IS3X 12YZWdHIejgYg== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id AA587441492; Sun, 22 Sep 2024 11:32:19 -0400 (EDT) Original-Received: from pastel (unknown [45.72.221.103]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 6D062120751; Sun, 22 Sep 2024 11:32:19 -0400 (EDT) In-Reply-To: <3413563D-0343-4764-8D44-DAE3D3642A80@gmail.com> ("Mattias =?UTF-8?Q?Engdeg=C3=A5rd?="'s message of "Sun, 22 Sep 2024 17:16:20 +0200") 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:292238 Archived-At: Mattias Engdeg=E5rd [2024-09-22 17:16:20] wrote: [ ... Various questions about what behavior we want to provide ... ] Hmm... I thought your complaint about the cost of `select-active-regions` was due to the cost being too high in step 2 (which would indicate that the code does not behave quite like the design I described, and would thus be a simple bug we should fix). Are you saying that when you said: - `select-active-regions`: as mentioned, it slows down rectangle selection massively ... you were talking about the slowdown imposed in step 4 rather than in step 2? Stefan