From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 4Gd0NOXQnmRlBAAASxT56A (envelope-from ) for ; Fri, 30 Jun 2023 14:56:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id GGZdM+XQnmSA2gAAG6o9tA (envelope-from ) for ; Fri, 30 Jun 2023 14:56:05 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6B888FE8D for ; Fri, 30 Jun 2023 14:56:05 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=LX5FPurP; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688129765; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=gawOfMbmzQYvTYA1Ut+GhWdkUhLRGyvgEHxkJc+fC+o=; b=sAuYnUv5vSO5uPqwGN46Lg5aVXnYWYsqJJ7PX+2sLepv5Zf+vDe2uTC4OqCVA0Uh+oaLS8 wPACNTqRmqgLGS1pJhJC78Pn/8pduj5fi1gaMezd+g/IoAJstwbFf/hWisnds74tGHX23K pF5Ek8Sn/hCKuoEDkBfO/+A0/OAWR2KpevnsYnH2AqHAfzzj/eQlaI8rS6QQbwlrKg/Wfx bGx+KPw9TdbbyqB7shc2VikYHNt9Wf05ODnnOf7P7VMKyEBAgCzaDOobk50e7HHuysuyRI hQD7jXfqFEcAT8OEZcA6sMRJeuXe77PVO8sZjPeYOOgJ+jmWBYRLD7mWrR5MlA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=LX5FPurP; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1688129765; a=rsa-sha256; cv=none; b=aP/+fmFEo0gWcLjNbcnz/3CZ7j17xoSVZPixCcljva5n8yuaOnErYriQluKEe8CHNVW9s4 HManmM7pBvIc1ldpiPhZoBHt2xUlxAkZdIrhidD61yQQuDCY23kjt7uXAQp6YSVzFK2k49 wIfduzWxwoQvDQNwev4eTguTYz2koqQIqqIxKTLlmyEB6N37ZmIoiUbn7ixePC843wxwQM qzgD8rjUXzeUEB3hYV6z5E967yXEdiTXtCtoOJBUq8jv6M03fMMTbB3A7VZ23H7V9TPtdj LGSFs1ilq1g6OsnCcw9QL9vh3Wbo1HqzEURCAVPTe8gCPsZVUVCu/1Kk720XMQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qFDef-0007zw-Ak; Fri, 30 Jun 2023 08:55:17 -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 ) id 1qFDed-0007uF-Br for emacs-orgmode@gnu.org; Fri, 30 Jun 2023 08:55:15 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qFDeb-0006bB-It for emacs-orgmode@gnu.org; Fri, 30 Jun 2023 08:55:15 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id B511C240104 for ; Fri, 30 Jun 2023 14:55:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1688129711; bh=Hbjh9h0AJDVsJttbDiCnL0b0UcW8BMd8ZUGvwiyWep4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=LX5FPurPauiJFZJbr4OJpv5QkVJPO2mg7gH4s9060jfD2rqUaJvPajLHffkzzunRC yWmP0tXSNpyKKcKDni878z3pUQ4T+aqETzvrpqJkyT0Hj5rJ5uJzECYXlxYZpHDMHy yT6bhX6DAxH2UWDX1l11LUqZxhiTeySkGqJaelLmplj+OxGlboPfNyEs0Mzuzse1HM dMIKQX+/qDKqSv2f94yoEVON45lQ9NpsXaUTfXkA9wAzOyUqHScj5+ATZiYl76440u huRdmA5V/np3sBh7pGMWz0CWxb9c8z8qISL20LY99IOYKruNYJLQlntw+Cljfs+5DI RZ1NTOYg+/GAA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QswJt5Tgqz6tx1; Fri, 30 Jun 2023 14:55:10 +0200 (CEST) From: Ihor Radchenko To: "Christopher M. Miles" Cc: Org-mode Subject: Re: [PATCH v4.1] Re: Improve the performance of `org-set-tags-command` on large `org-tag-alist` In-Reply-To: <64646d12.170a0220.b780c.b216@mx.google.com> References: <878rds1xta.fsf@localhost> <87a5y8iiak.fsf@localhost> <645fc094.170a0220.4d545.38e1@mx.google.com> <87wn1cgjij.fsf@localhost> <64604168.170a0220.99926.5b4f@mx.google.com> <87lehrgwqn.fsf@localhost> <6460f5e3.630a0220.b9085.17d2@mx.google.com> <87ilcvdknx.fsf@localhost> <64611586.a70a0220.53db4.4151@mx.google.com> <871qjiiziz.fsf@localhost> <64612e34.170a0220.28faa.5dcb@mx.google.com> <87v8gthnc9.fsf@localhost> <64624762.170a0220.fd372.5c0d@mx.google.com> <64625a39.620a0220.e2d74.706d@mx.google.com> <87v8gs4o88.fsf@localhost> <646375bd.170a0220.b1c70.dbf1@mx.google.com> <87o7mk3y72.fsf@localhost> <64646d12.170a0220.b780c.b216@mx.google.com> Date: Fri, 30 Jun 2023 12:55:09 +0000 Message-ID: <87sfa9p0sy.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -7.53 X-Spam-Score: -7.53 X-Migadu-Queue-Id: 6B888FE8D X-TUID: NWChCuarzlgK "Christopher M. Miles" writes: > I improved the code a little. Can't figure out how to implement upper logic. > Can you finish the last part? Thanks > > #+begin_src emacs-lisp > (setq tbl (let* ((tags-grouped (org-tag-alist-to-groups fulltable)) >... I tried to improve the code readability in `org-fast-tag-selection'. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=a19654583c6f2070096402bc712591a0a2c80d01 May you look at it again and see if you can manage to implement a full patch now? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at