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 1kRYZh-0001Jv-BT for pgsql-hackers@arkaria.postgresql.org; Sun, 11 Oct 2020 10:27:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kRYZf-00022p-Vx for pgsql-hackers@arkaria.postgresql.org; Sun, 11 Oct 2020 10:27:31 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kRYZe-00022h-5p for pgsql-hackers@lists.postgresql.org; Sun, 11 Oct 2020 10:27:31 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kRYZa-00034N-Iz for pgsql-hackers@lists.postgresql.org; Sun, 11 Oct 2020 10:27:29 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 331445C00EE; Sun, 11 Oct 2020 06:27:25 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 11 Oct 2020 06:27:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=pt6qXgwrEKgaEfcX5ehiUtQ/Ilr 5T/tVzwwoR58WNP8=; b=iWnrQZ8k48skhfgASNbb0HvQawbM0q05KphP569f333 qi2E5CP5K5xc2TMS7yYWlibL35NHIBXCkVSTrI3pyHjrhkEqcTlmXrF6dMuJ/Bvm rPGESDvUalQi3AXUapFsrow527Sv8wI4GbQYBsu3LbjtN6uvarkFFWYnaXwubj+Q mQhO3VO09i4g6+STc2rMQWT5SDDtvQ/pfc0XKGJj+3kg9fIJNGERU9CneLmmOwok vBo8kUdQhcvxlB1x8p3WNWaM1zBmhrWPeAykVB3dcXolPEYJa+1v2rXTxs0GKycw alt0GidgUxdGx2v3JpHfsHdUwSK5OTbgIOuy/9SB8FA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=pt6qXg wrEKgaEfcX5ehiUtQ/Ilr5T/tVzwwoR58WNP8=; b=BrQFFkQ4Ke8lvobncizZEN ZZ4EukVm7zNll6nGrnlVYJkfGGPiHGuu6XEO1Z6Q/Fllw08jLDxxiFK2BKmLl9Kj W+OrKmBlh+I7+fqff5/JXgrCNklubUs/GLPhCDP82cq70PxZ67aH11bsaoIESgvT qczfU+V3ScUQXj7O8N/RLzLrdD+pzTpQNY2f2k8PEN02mD4NgbdcXzlVRY20M/bf b9ISpldk93K9GcFoHQnjb3gMiHq/WZHuF/yKHVys4XrXZ8VO4GSu/K6P8Judc1M/ fi5ALUPHtzN3XCdG4jwQC/BUgLZlYYrSUMmLowDx85lIXeSGxWqrk/bhP275PO1Q == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrheehgddvlecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculdejtddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepvdegudeuhfdtueeltedtveejheeh ieevueeigeelteegleejleeiueeiheegvefhnecukfhppeduuddurddutddvrddukedtrd dukeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep mhhitghhrggvlhesphgrqhhuihgvrhdrgiihii X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id 90F5F306467E; Sun, 11 Oct 2020 06:27:23 -0400 (EDT) Date: Sun, 11 Oct 2020 19:27:20 +0900 From: Michael Paquier To: John Naylor Cc: Mark Dilger , PostgreSQL Hackers Subject: Re: speed up unicode normalization quick check Message-ID: <20201011102720.GA15029@paquier.xyz> References: <74CB1F08-C551-4D9B-B37B-17CA39E58AF1@enterprisedb.com> <20201007061844.GB30037@paquier.xyz> <20201008064823.GC3457@paquier.xyz> <20201008122916.GA2344@paquier.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Oct 08, 2020 at 06:22:39PM -0400, John Naylor wrote: > Okay, thanks. And applied. I did some more micro benchmarking with the quick checks, and the numbers are cool, close to what you mentioned for the quick checks of both NFC and NFKC. Just wondering about something in the same area, did you look at the decomposition table? -- Michael --UlVJffcvxoiEqYs2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl+C3ggACgkQnvQgOdby QH0nCw//TcJxq33/bUddYRW6Wzr+6KDWPCoztoHORM3eP9NCEEOWzahIVkfPRqp7 f4h9V0T+WC/0+Sfnzc1C/jExbE6KLJjzMoZO8u2huB9oYvQ53TKmK7mN1lSt7Cjv fCoGARrNTyPro2Uv+n6/T+MpJVM9bIZeTiIWNVzD3uN94FEjZlTO1g+mcRE/4DqE Nhgax5Bo17NjUKboWuGEtXX5J51mHsT5tFYL0rVHcwDdEnStIwAufwkg6lKvYrs0 N9TbL9mOOf0njt/pJSGNb7nBmQdlA4ZQtUL21/9H2iJGmt2QTdjqL7vrNPVKlFj4 uahI+aIEEuPb03MK4PIXFYgpyaB7ViVorCC7QWJaBvpyyTLiQCLRX/wB7522eriq /i/ctJ4PZbCqIksZHFKfIaw9gVIFayb7Iifn4diDsqR78IWSt4GTgrbkbmRkwL2Q UQ8qM4XpgQuGw8D+dGpSkuZnw5IcjjS694nUanyeCOxjz60Yzf5x6iZX9nHuko4I Z+NEhJyF71Fcs5bSQULpfLFKOvOdBDkdF9GyhJL8v9+XGZBq6NjmyDzCCLTI9Oy9 BPF3OPSY7pI3RvU5tHmpKZk0j52Y5DX+mfR572cpMja0mg4nzmw3q6J8lKEz7/iT PhDOUZNKPLpd12JzIJ7k3irNOfrVB7CCRC++XMIod6BprVeZSWA= =QYcH -----END PGP SIGNATURE----- --UlVJffcvxoiEqYs2--