X-Loop: help-debbugs@HIDDEN Subject: bug#71958: [PATCH] Improve `tab-line-tabs-fixed-window-buffers` sorting performance Resent-From: Eval Exec <execvy@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 06 Jul 2024 00:13:01 +0000 Resent-Message-ID: <handler.71958.B.17202247601133 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 71958 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 71958 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.17202247601133 (code B ref -1); Sat, 06 Jul 2024 00:13:01 +0000 Received: (at submit) by debbugs.gnu.org; 6 Jul 2024 00:12:40 +0000 Received: from localhost ([127.0.0.1]:45226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sPt2d-0000IA-D7 for submit <at> debbugs.gnu.org; Fri, 05 Jul 2024 20:12:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:48606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <execvy@HIDDEN>) id 1sPgtU-0000aZ-OA for submit <at> debbugs.gnu.org; Fri, 05 Jul 2024 07:14:25 -0400 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 <execvy@HIDDEN>) id 1sPgrK-0004yh-Qc for bug-gnu-emacs@HIDDEN; Fri, 05 Jul 2024 07:12:10 -0400 Received: from mail-ot1-x344.google.com ([2607:f8b0:4864:20::344]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <execvy@HIDDEN>) id 1sPgrJ-0006PK-90 for bug-gnu-emacs@HIDDEN; Fri, 05 Jul 2024 07:12:10 -0400 Received: by mail-ot1-x344.google.com with SMTP id 46e09a7af769-7035b2947a4so119422a34.3 for <bug-gnu-emacs@HIDDEN>; Fri, 05 Jul 2024 04:12:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720177926; x=1720782726; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=vxbRvUMPsCFiLaWXPjexVAgkNCv8eHYpkIZPK+fnlW8=; b=iO93eXEyerMb2Tv89UX+0j4s3+di2WXF06KPJCid3LiR/KpioJGVyMyaWFlAuo/iXH fkRb5hAEyVUKcgUdVhLJmJf9B6Zt/1qcRxg3NiejGr01+GBswkXZHECipj70MH3STVrD gR58mqgwfWQw7GQ+GOXZsEGnQ4lDGJEtAsGcD/zIP3bAwON0CfJgIDhybGNuyGCucGTu If87ZbB3zp5/LgMdd8oEQScRMgHM6X6qWp14AVqN3LRTdEsJbg/UEJLtPS/d8Or5RnEm 7MPnYebNo2T41vZtZAyBCzOKd8wqsXHzfzp2r3u1EzKRw2YuB7tCQTGoKlg/qMlAjjqY vObg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720177926; x=1720782726; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=vxbRvUMPsCFiLaWXPjexVAgkNCv8eHYpkIZPK+fnlW8=; b=bXbuJKdTE2VFqWbaxmXlvtHoIkNXY0uReJyAzMzsNwvLA9AAQ+NOdqgp5nWUqbpQ6g lH3P1BE3cCYKVBy8F4qyZ7slQLqiuhROPue0rAuQx4yAiJbrQXZTA5j5d74VU9/hbJY1 EYqZBW5xkpbFaC214JvmrOFwFvwnjPW/udcAzP1k5QasusrK04tyoHOq6HCC9kyqA/3U vZUd5fn7GMQD2CUXDVVl9AB9VwFAlaSohWlEhOtvb2BJVlOTsphSZu34Ooso4KbC51o7 0r1r5fE5zB+ZAMsfxJ8BFVRk0qTwi0WVEc/EsNYG5h+rr0qknYkHpL7JBICVP5VDZdCf 8iFQ== X-Gm-Message-State: AOJu0YwmtwQCWMaDRZ7ZLUPGmtUrdkRy40DJrqTbahggNIU4rvxYE1aa mW+yaNUxbUqwSOanJWXpspcroiDDkG43D/Lb6t5cgqVPZ5+ReKXsUMPGeyIRGanbt80N/AWidr3 YNV9/CkvZDNp+0qmHIlEBD0KlG9TWUM7dMI4= X-Google-Smtp-Source: AGHT+IFBvk9zFUtpsYAgJ8M+99qZUgP2Lx+UnsAnB91mCwXQgHMOtkr7CMVzi/52p7XoLnQeRXxUx7Jhb4tfqKNiMqk= X-Received: by 2002:a05:6871:24e1:b0:254:7348:9071 with SMTP id 586e51a60fabf-25e2bb5e509mr3467998fac.26.1720177926073; Fri, 05 Jul 2024 04:12:06 -0700 (PDT) MIME-Version: 1.0 From: Eval Exec <execvy@HIDDEN> Date: Fri, 5 Jul 2024 19:11:54 +0800 Message-ID: <CAKfPJDqEVRKyKFC6w0vayTZF+dG4m28nGwbX74bis41w8hCvaA@HIDDEN> Content-Type: multipart/mixed; boundary="0000000000003c0f8e061c7e2224" Received-SPF: pass client-ip=2607:f8b0:4864:20::344; envelope-from=execvy@HIDDEN; helo=mail-ot1-x344.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Mailman-Approved-At: Fri, 05 Jul 2024 20:12:38 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) --0000000000003c0f8e061c7e2224 Content-Type: text/plain; charset="UTF-8" --0000000000003c0f8e061c7e2224 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-Improve-tab-line-tabs-fixed-window-buffers-sorting-p.patch" Content-Disposition: attachment; filename="0001-Improve-tab-line-tabs-fixed-window-buffers-sorting-p.patch" Content-Transfer-Encoding: base64 Content-ID: <f_ly8lgs460> X-Attachment-Id: f_ly8lgs460 RnJvbSBmYTA0N2E1MmMwZDQwYWFjZTIzNmJkNTZmMWQ4Y2E3MDkzNWY0MzhhIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBFdmFsIEVYRUMgPGV4ZWN2eUBnbWFpbC5jb20+CkRhdGU6IEZy aSwgNSBKdWwgMjAyNCAxODo1MzozNiArMDgwMApTdWJqZWN0OiBbUEFUQ0hdIEltcHJvdmUgYHRh Yi1saW5lLXRhYnMtZml4ZWQtd2luZG93LWJ1ZmZlcnNgIHNvcnRpbmcKIHBlcmZvcm1hbmNlCgoq IGxzcC90YWItbGluZS5lbCAodGFiLWxpbmUtdGFicy1maXhlZC13aW5kb3ctYnVmZmVycyk6IEVu aGFuY2VkCmB0YWItbGluZS10YWJzLWZpeGVkLXdpbmRvdy1idWZmZXJzYCBwZXJmb3JtYW5jZSBi eSBvcHRpbWl6aW5nIGJ1ZmZlcgpzb3J0aW5nIG1lY2hhbmlzbS4gUmVwbGFjZWQgaW5lZmZpY2ll bnQgYHNlcS1wb3NpdGlvbmAgY2FsbHMgd2l0aCBhIGhhc2gKdGFibGUgdG8gY2FjaGUgYnVmZmVy IHBvc2l0aW9ucywgc2lnbmlmaWNhbnRseSBpbXByb3Zpbmcgc3BlZWQgd2hlbgpoYW5kbGluZyBs YXJnZSBidWZmZXIgbGlzdHMuCi0tLQogbGlzcC90YWItbGluZS5lbCB8IDggKysrKysrLS0KIDEg ZmlsZSBjaGFuZ2VkLCA2IGluc2VydGlvbnMoKyksIDIgZGVsZXRpb25zKC0pCgpkaWZmIC0tZ2l0 IGEvbGlzcC90YWItbGluZS5lbCBiL2xpc3AvdGFiLWxpbmUuZWwKaW5kZXggMWQxNGZkYTk4MjUu LmU0OTA4YzYxNTQyIDEwMDY0NAotLS0gYS9saXNwL3RhYi1saW5lLmVsCisrKyBiL2xpc3AvdGFi LWxpbmUuZWwKQEAgLTU1NSwxMCArNTU1LDE0IEBAIFRoaXMgbWVhbnMgdGhhdCBzd2l0Y2hpbmcg dG8gYSBidWZmZXIgcHJldmlvdXNseSBzaG93biBpbiB0aGUgc2FtZQogd2luZG93IHdpbGwga2Vl cCB0aGUgc2FtZSBvcmRlciBvZiB0YWJzIHRoYXQgd2FzIGJlZm9yZSBzd2l0Y2hpbmcuCiBBbmQg bmV3bHkgZGlzcGxheWVkIGJ1ZmZlcnMgYXJlIGFkZGVkIHRvIHRoZSBlbmQgb2YgdGhlIHRhYiBs aW5lLiIKICAgKGxldCogKChvbGQtYnVmZmVycyAod2luZG93LXBhcmFtZXRlciBuaWwgJ3RhYi1s aW5lLWJ1ZmZlcnMpKQorICAgICAgICAgKGJ1ZmZlci1wb3NpdGlvbnMgKGxldCAoKGluZGV4LXRh YmxlIChtYWtlLWhhc2gtdGFibGUgOnRlc3QgJ2VxKSkpCisgICAgICAgICAgICAgICAgICAgICAg ICAgICAgIChzZXEtZG8taW5kZXhlZAorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGxh bWJkYSAoYnVmIGlkeCkgKHB1dGhhc2ggYnVmIGlkeCBpbmRleC10YWJsZSkpCisgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICBvbGQtYnVmZmVycykKKyAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgaW5kZXgtdGFibGUpKQogICAgICAgICAgKG5ldy1idWZmZXJzIChzb3J0ICh0YWItbGlu ZS10YWJzLXdpbmRvdy1idWZmZXJzKQogICAgICAgICAgICAgICAgICAgICAgICAgICAgIDprZXkg KGxhbWJkYSAoYnVmZmVyKQotICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAob3Ig KHNlcS1wb3NpdGlvbiBvbGQtYnVmZmVycyBidWZmZXIpCi0gICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICBtb3N0LXBvc2l0aXZlLWZpeG51bSkpKSkpCisgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgIChnZXRoYXNoIGJ1ZmZlciBidWZmZXItcG9zaXRpb25zIG1v c3QtcG9zaXRpdmUtZml4bnVtKSkpKSkKICAgICAoc2V0LXdpbmRvdy1wYXJhbWV0ZXIgbmlsICd0 YWItbGluZS1idWZmZXJzIG5ldy1idWZmZXJzKQogICAgIG5ldy1idWZmZXJzKSkKIAotLSAKMi40 NC4xCgo= --0000000000003c0f8e061c7e2224--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Eval Exec <execvy@HIDDEN> Subject: bug#71958: Acknowledgement ([PATCH] Improve `tab-line-tabs-fixed-window-buffers` sorting performance) Message-ID: <handler.71958.B.17202247601133.ack <at> debbugs.gnu.org> References: <CAKfPJDqEVRKyKFC6w0vayTZF+dG4m28nGwbX74bis41w8hCvaA@HIDDEN> X-Gnu-PR-Message: ack 71958 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 71958 <at> debbugs.gnu.org Date: Sat, 06 Jul 2024 00:13:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 71958 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 71958: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D71958 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#71958: [PATCH] Improve `tab-line-tabs-fixed-window-buffers` sorting performance Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 06 Jul 2024 06:24:01 +0000 Resent-Message-ID: <handler.71958.B71958.172024702922443 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 71958 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eval Exec <execvy@HIDDEN> Cc: 71958 <at> debbugs.gnu.org Received: via spool by 71958-submit <at> debbugs.gnu.org id=B71958.172024702922443 (code B ref 71958); Sat, 06 Jul 2024 06:24:01 +0000 Received: (at 71958) by debbugs.gnu.org; 6 Jul 2024 06:23:49 +0000 Received: from localhost ([127.0.0.1]:45410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sPypo-0005pv-Uh for submit <at> debbugs.gnu.org; Sat, 06 Jul 2024 02:23:49 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1sPypm-0005pi-T0 for 71958 <at> debbugs.gnu.org; Sat, 06 Jul 2024 02:23:47 -0400 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 <eliz@HIDDEN>) id 1sPypd-0000em-QO; Sat, 06 Jul 2024 02:23:37 -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=ZAE8GMn0TgRCqDxY7hULz5H3pj08slnDJgLV6ZtCufI=; b=Z5m0MODPyUgq x46j0AUa5GoHBZnV5OtGPT6U6kVxzh0ZYBRjTZ7lIaTnebLM+HMG9Ae9KrUA1C6sNKEaZuVzXPkiB Hv87yg8ZAJbt00rvc0kFDRzTUAJ392fEpt4ru/KSphVAwQjxWZUvqPozZ9+I4KmQevR8ikgE/kJKi XLq2N28Xwuf6E6vF/iMW2OsAGyw6jOtow6oAo/a+mwosMy/wfovGebYfg/K8OqvLtFWRk/CaKGjGk aynvRmcHIRr/rrH62xEGjzNmi8Vf8Op4GAi1UCqvurlWfgQU9aF7CAVTwx7sKxn0bQLDUsGqgqpd2 Og4JVKFwfUaax1WfRB6FCw==; Date: Sat, 06 Jul 2024 09:23:36 +0300 Message-Id: <86tth35993.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <CAKfPJDqEVRKyKFC6w0vayTZF+dG4m28nGwbX74bis41w8hCvaA@HIDDEN> (message from Eval Exec on Fri, 5 Jul 2024 19:11:54 +0800) References: <CAKfPJDqEVRKyKFC6w0vayTZF+dG4m28nGwbX74bis41w8hCvaA@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Eval Exec <execvy@HIDDEN> > Date: Fri, 5 Jul 2024 19:11:54 +0800 Thanks. I'll leave it to Juri to review the code and comment, but just minor nits on your commit log message: > * lsp/tab-line.el (tab-line-tabs-fixed-window-buffers): Enhanced > `tab-line-tabs-fixed-window-buffers` performance by optimizing buffer > sorting mechanism. Replaced inefficient `seq-position` calls with a hash > table to cache buffer positions, significantly improving speed when > handling large buffer lists. Our style is to say "Enhance" and "Replace", not "Enhanced" and "Replaced". Also, we use the US English convention of leaving two spaces between sentences. Finally, please quote symbols 'like this', not `like this`. In addition, I'd encourage you to start your legal paperwork of assigning the copyright to the FSF at this time, so we could accept your contributions without any restrictions. If you are willing to start the paperwork now, I will send you the form to fill and the instructions to go with it.
Received: (at control) by debbugs.gnu.org; 6 Jul 2024 06:31:02 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 06 02:31:02 2024 Received: from localhost ([127.0.0.1]:45427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sPywo-0000FM-0R for submit <at> debbugs.gnu.org; Sat, 06 Jul 2024 02:31:02 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1sPywm-0008Rm-9w; Sat, 06 Jul 2024 02:31:00 -0400 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 <eliz@HIDDEN>) id 1sPywc-0005OE-Sw; Sat, 06 Jul 2024 02:30:51 -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=zAI6z8hiL3FnFSecIoG9Inm62kaYZ9pUZlr9la9Wm8o=; b=OYKdLfiEGgup 16sxEEBSYTSNE9urP/ml5hUFS7p4Sy+x2/IJqPr2dK/0Xz5zWPVDrxA+VXwwKCKJ/ChBGuTZ7HRjT 6WBfNUiep4pKSD9hitXMrSbRJa6fUUSc8tRYHCuCNmTTZe4LiTNLjhv9l8D+k3M5WrW1P2QJt3yo5 azm6EsIrbgSMy603zxdzGA8h62S5X1qtZPVGodCGIAsQf7Q3P4odAwpPdrRLahKq/ZxWWjZEKSv8M WUgoD+fgQNrkmHynYtG7mnKBR+3n2+lccwiM3fV3AcfkQxDyXXmVgkdXAyKuPMkQ1Y8AusZUMX3Y9 7sNVJuvLQ/XCJGJzGSuDaA==; Date: Sat, 06 Jul 2024 09:30:14 +0300 Message-Id: <86r0c758y1.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Eval Exec <execvy@HIDDEN> In-Reply-To: <CAKfPJDqn-JuVWGVqnSCmXmrkLZ7hAxGBj5ZV9ufnaTb_ojYqbw@HIDDEN> (message from Eval Exec on Fri, 5 Jul 2024 20:39:39 +0800) Subject: Re: bug#71960: [PATCH] Improve `tab-line-tabs-fixed-window-buffers` sorting performance References: <CAKfPJDqn-JuVWGVqnSCmXmrkLZ7hAxGBj5ZV9ufnaTb_ojYqbw@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control Cc: 71960 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) merge 71958 71961 71960 thanks > From: Eval Exec <execvy@HIDDEN> > Date: Fri, 5 Jul 2024 20:39:39 +0800 > > Enhanced > `tab-line-tabs-fixed-window-buffers` performance by optimizing buffer > sorting mechanism. Replaced inefficient `seq-position` calls with a hash > table to cache buffer positions, significantly improving speed when > handling large buffer lists. Actually, I see that all 4 bugs you submitted are the same bug, so I'm merging them.
X-Loop: help-debbugs@HIDDEN Subject: bug#71958: [PATCH] Improve `tab-line-tabs-fixed-window-buffers` sorting performance Resent-From: Juri Linkov <juri@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 07 Jul 2024 16:54:01 +0000 Resent-Message-ID: <handler.71958.B71958.172037122018265 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 71958 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii <eliz@HIDDEN> Cc: 71958 <at> debbugs.gnu.org, Eval Exec <execvy@HIDDEN> Received: via spool by 71958-submit <at> debbugs.gnu.org id=B71958.172037122018265 (code B ref 71958); Sun, 07 Jul 2024 16:54:01 +0000 Received: (at 71958) by debbugs.gnu.org; 7 Jul 2024 16:53:40 +0000 Received: from localhost ([127.0.0.1]:49047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sQV8t-0004kW-Ut for submit <at> debbugs.gnu.org; Sun, 07 Jul 2024 12:53:40 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:42721) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1sQV8r-0004kJ-U5 for 71958 <at> debbugs.gnu.org; Sun, 07 Jul 2024 12:53:38 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 0264D1C0007; Sun, 7 Jul 2024 16:53:25 +0000 (UTC) From: Juri Linkov <juri@HIDDEN> In-Reply-To: <86tth35993.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 06 Jul 2024 09:23:36 +0300") Organization: LINKOV.NET References: <CAKfPJDqEVRKyKFC6w0vayTZF+dG4m28nGwbX74bis41w8hCvaA@HIDDEN> <86tth35993.fsf@HIDDEN> Date: Sun, 07 Jul 2024 19:51:10 +0300 Message-ID: <86y16dgn7l.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: juri@HIDDEN X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) >> From: Eval Exec <execvy@HIDDEN> >> Date: Fri, 5 Jul 2024 19:11:54 +0800 > > I'll leave it to Juri to review the code and comment, but > just minor nits on your commit log message: I confirm this is the right fix. Thanks to Eval Exec. > In addition, I'd encourage you to start your legal paperwork of > assigning the copyright to the FSF at this time, so we could accept > your contributions without any restrictions. If you are willing to > start the paperwork now, I will send you the form to fill and the > instructions to go with it. Do I understand correctly that this patch could be installed now with Copyright-paperwork-exempt?
X-Loop: help-debbugs@HIDDEN Subject: bug#71958: [PATCH] Improve `tab-line-tabs-fixed-window-buffers` sorting performance Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 07 Jul 2024 17:35:01 +0000 Resent-Message-ID: <handler.71958.B71958.172037364722367 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 71958 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Juri Linkov <juri@HIDDEN> Cc: 71958 <at> debbugs.gnu.org, execvy@HIDDEN Received: via spool by 71958-submit <at> debbugs.gnu.org id=B71958.172037364722367 (code B ref 71958); Sun, 07 Jul 2024 17:35:01 +0000 Received: (at 71958) by debbugs.gnu.org; 7 Jul 2024 17:34:07 +0000 Received: from localhost ([127.0.0.1]:49104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sQVm3-0005oh-5I for submit <at> debbugs.gnu.org; Sun, 07 Jul 2024 13:34:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51042) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1sQVm1-0005o9-62 for 71958 <at> debbugs.gnu.org; Sun, 07 Jul 2024 13:34:06 -0400 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 <eliz@HIDDEN>) id 1sQVlr-0007bP-Fp; Sun, 07 Jul 2024 13:33:55 -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=wDqK1OyTwxPNfQZ47YvVWsLLlYujtF9zDMC/zPQZMQA=; b=ddJsFoFMEM4G ds+l4Gl+JL4Zv/YNUCmF11vbePTe2AJS1Ep9HfnH5VTNRMI+GUZ6sqze09gCXPUi47Styb/T1Oa7e A9Vua+4JL2u6K+hrkO1Cu4K2bdp4Vk0h03ziW/mrRrtQq5mNGGriKTesi//gSzkRa6EeV3oMyAfyN kOXHsEcEKI91noeU25IEXz9FE8SCFfnYdUX4tcCSfcy5iq8ZrrE+mDfH5DgyUv5QWDEjcHYQODrxM NRqMf1X1QtWCqt2eMF+2JrRybx3sTlDvB8LP1bpWOkAENkw8gaFwh9yqc8wyotKgiYrUgCfPJLmon N/RY64ewuyiy1YJWUY/kdw==; Date: Sun, 07 Jul 2024 20:33:53 +0300 Message-Id: <86plrp14zi.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <86y16dgn7l.fsf@HIDDEN> (message from Juri Linkov on Sun, 07 Jul 2024 19:51:10 +0300) References: <CAKfPJDqEVRKyKFC6w0vayTZF+dG4m28nGwbX74bis41w8hCvaA@HIDDEN> <86tth35993.fsf@HIDDEN> <86y16dgn7l.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Juri Linkov <juri@HIDDEN> > Cc: Eval Exec <execvy@HIDDEN>, 71958 <at> debbugs.gnu.org > Date: Sun, 07 Jul 2024 19:51:10 +0300 > > >> From: Eval Exec <execvy@HIDDEN> > >> Date: Fri, 5 Jul 2024 19:11:54 +0800 > > > > I'll leave it to Juri to review the code and comment, but > > just minor nits on your commit log message: > > I confirm this is the right fix. > Thanks to Eval Exec. > > > In addition, I'd encourage you to start your legal paperwork of > > assigning the copyright to the FSF at this time, so we could accept > > your contributions without any restrictions. If you are willing to > > start the paperwork now, I will send you the form to fill and the > > instructions to go with it. > > Do I understand correctly that this patch could be installed now > with Copyright-paperwork-exempt? Yes. Please also mention the bug number in the log message when you commit. Thanks.
X-Loop: help-debbugs@HIDDEN Subject: bug#71958: [PATCH] Improve `tab-line-tabs-fixed-window-buffers` sorting performance Resent-From: Juri Linkov <juri@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 07 Jul 2024 18:26:02 +0000 Resent-Message-ID: <handler.71958.B71958.172037672327425 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 71958 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii <eliz@HIDDEN> Cc: 71958 <at> debbugs.gnu.org, execvy@HIDDEN Received: via spool by 71958-submit <at> debbugs.gnu.org id=B71958.172037672327425 (code B ref 71958); Sun, 07 Jul 2024 18:26:02 +0000 Received: (at 71958) by debbugs.gnu.org; 7 Jul 2024 18:25:23 +0000 Received: from localhost ([127.0.0.1]:49153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sQWZf-00078F-CU for submit <at> debbugs.gnu.org; Sun, 07 Jul 2024 14:25:23 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:46963) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1sQWZd-00077x-HF; Sun, 07 Jul 2024 14:25:21 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 0D77020003; Sun, 7 Jul 2024 18:25:07 +0000 (UTC) From: Juri Linkov <juri@HIDDEN> In-Reply-To: <86plrp14zi.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 07 Jul 2024 20:33:53 +0300") Organization: LINKOV.NET References: <CAKfPJDqEVRKyKFC6w0vayTZF+dG4m28nGwbX74bis41w8hCvaA@HIDDEN> <86tth35993.fsf@HIDDEN> <86y16dgn7l.fsf@HIDDEN> <86plrp14zi.fsf@HIDDEN> Date: Sun, 07 Jul 2024 21:24:40 +0300 Message-ID: <86jzhxgivr.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: juri@HIDDEN X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) close 71958 30.0.60 thanks >> > I'll leave it to Juri to review the code and comment, but >> > just minor nits on your commit log message: >> >> I confirm this is the right fix. >> Thanks to Eval Exec. >> >> > In addition, I'd encourage you to start your legal paperwork of >> > assigning the copyright to the FSF at this time, so we could accept >> > your contributions without any restrictions. If you are willing to >> > start the paperwork now, I will send you the form to fill and the >> > instructions to go with it. >> >> Do I understand correctly that this patch could be installed now >> with Copyright-paperwork-exempt? > > Yes. Please also mention the bug number in the log message when you > commit. Ok, so now done.
Received: (at control) by debbugs.gnu.org; 7 Jul 2024 18:25:24 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 07 14:25:23 2024 Received: from localhost ([127.0.0.1]:49155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sQWZf-00078I-LD for submit <at> debbugs.gnu.org; Sun, 07 Jul 2024 14:25:23 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:46963) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1sQWZd-00077x-HF; Sun, 07 Jul 2024 14:25:21 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 0D77020003; Sun, 7 Jul 2024 18:25:07 +0000 (UTC) From: Juri Linkov <juri@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#71958: [PATCH] Improve `tab-line-tabs-fixed-window-buffers` sorting performance In-Reply-To: <86plrp14zi.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 07 Jul 2024 20:33:53 +0300") Organization: LINKOV.NET References: <CAKfPJDqEVRKyKFC6w0vayTZF+dG4m28nGwbX74bis41w8hCvaA@HIDDEN> <86tth35993.fsf@HIDDEN> <86y16dgn7l.fsf@HIDDEN> <86plrp14zi.fsf@HIDDEN> Date: Sun, 07 Jul 2024 21:24:40 +0300 Message-ID: <86jzhxgivr.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: juri@HIDDEN X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control Cc: 71958 <at> debbugs.gnu.org, execvy@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) close 71958 30.0.60 thanks >> > I'll leave it to Juri to review the code and comment, but >> > just minor nits on your commit log message: >> >> I confirm this is the right fix. >> Thanks to Eval Exec. >> >> > In addition, I'd encourage you to start your legal paperwork of >> > assigning the copyright to the FSF at this time, so we could accept >> > your contributions without any restrictions. If you are willing to >> > start the paperwork now, I will send you the form to fill and the >> > instructions to go with it. >> >> Do I understand correctly that this patch could be installed now >> with Copyright-paperwork-exempt? > > Yes. Please also mention the bug number in the log message when you > commit. Ok, so now done.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.