From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ruijie Yu via Users list for the GNU Emacs text editor Newsgroups: gmane.emacs.help Subject: Re: Finding repetitions of 8-tuples Date: Sun, 01 Jan 2023 09:16:35 -0600 Message-ID: References: <1399831366.706043.1672506045023@ichabod.co-bxl> Reply-To: Ruijie Yu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9069"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.13; emacs 30.0.50 Cc: help-gnu-emacs@gnu.org To: Hans Lonsdale Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 01 16:18:29 2023 Return-path: Envelope-to: geh-help-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 1pC06X-00029O-0H for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 01 Jan 2023 16:18:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pC062-0006Yc-TH; Sun, 01 Jan 2023 10:17:59 -0500 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 1pC060-0006YG-MG for help-gnu-emacs@gnu.org; Sun, 01 Jan 2023 10:17:56 -0500 Original-Received: from netyu.xyz ([152.44.41.246] helo=mail.netyu.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pC05z-0006Od-6v for help-gnu-emacs@gnu.org; Sun, 01 Jan 2023 10:17:56 -0500 Original-Received: from fw.net.yu.netyu.xyz ( [73.133.126.255]) by netyu.xyz (OpenSMTPD) with ESMTPSA id af56c46d (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 1 Jan 2023 15:17:50 +0000 (UTC) In-reply-to: <1399831366.706043.1672506045023@ichabod.co-bxl> Received-SPF: pass client-ip=152.44.41.246; envelope-from=ruijie@netyu.xyz; helo=mail.netyu.xyz X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FROM_SUSPICIOUS_NTLD=0.499, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:142081 Archived-At: Hans Lonsdale writes: > I have 16 collections of 8 numbers > > (11 12 11 44 11 12 11 23) > (12 21 11 44 11 12 11 23) > and so on > > I want to find whether there are repetitions of each 8-tuple. > The order in which the numbers occur is not important. I think your best bet is to sort each 8-tuple and compare the sorted lists afterwards. Can't think of anything better at the moment. Best, RY