Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kStbF-0004Ib-Ut for pgsql-hackers@arkaria.postgresql.org; Thu, 15 Oct 2020 03:06:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kStbE-0006B5-RL for pgsql-hackers@arkaria.postgresql.org; Thu, 15 Oct 2020 03:06:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kStbE-00067z-K1 for pgsql-hackers@lists.postgresql.org; Thu, 15 Oct 2020 03:06:40 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kStb7-0007Tn-Eg for pgsql-hackers@postgresql.org; Thu, 15 Oct 2020 03:06:39 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 09F36SOk3648967; Wed, 14 Oct 2020 23:06:28 -0400 From: Tom Lane To: John Naylor cc: Michael Paquier , pgsql-hackers Subject: Re: speed up unicode decomposition and recomposition In-reply-to: References: <3619432.1602695200@sss.pgh.pa.us> <20201015002523.GA2305@paquier.xyz> Comments: In-reply-to John Naylor message dated "Wed, 14 Oct 2020 22:56:41 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3648965.1602731188.1@sss.pgh.pa.us> Date: Wed, 14 Oct 2020 23:06:28 -0400 Message-ID: <3648966.1602731188@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk John Naylor writes: > With those points in mind and thinking more broadly, I'd like to try harder > on recomposition. Even several times faster, recomposition is still orders > of magnitude slower than ICU, as measured by Daniel Verite [1]. Huh. Has anyone looked into how they do it? regards, tom lane