From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eIw3I0QL5V54EgAA0tVLHw (envelope-from ) for ; Sat, 13 Jun 2020 17:22:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id ECMXH0QL5V4SUQAAB5/wlQ (envelope-from ) for ; Sat, 13 Jun 2020 17:22:12 +0000 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 21F93940AC5 for ; Sat, 13 Jun 2020 17:22:11 +0000 (UTC) Received: from localhost ([::1]:57134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jk9r7-00040r-2R for larch@yhetil.org; Sat, 13 Jun 2020 13:22:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jk9r0-00040l-OD for guix-patches@gnu.org; Sat, 13 Jun 2020 13:22:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59164) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jk9r0-000061-FC for guix-patches@gnu.org; Sat, 13 Jun 2020 13:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jk9r0-0006tm-AS for guix-patches@gnu.org; Sat, 13 Jun 2020 13:22:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#39258] [PATCH 2/4] ui: Use string matching with literal search strings. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 13 Jun 2020 17:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39258 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: zimoun , Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 39258@debbugs.gnu.org Received: via spool by 39258-submit@debbugs.gnu.org id=B39258.159206888126471 (code B ref 39258); Sat, 13 Jun 2020 17:22:02 +0000 Received: (at 39258) by debbugs.gnu.org; 13 Jun 2020 17:21:21 +0000 Received: from localhost ([127.0.0.1]:42477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jk9qL-0006st-Fz for submit@debbugs.gnu.org; Sat, 13 Jun 2020 13:21:21 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:45734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jk9qI-0006si-FH for 39258@debbugs.gnu.org; Sat, 13 Jun 2020 13:21:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=7ymjbnZlBDnuGlzJJ5Cuhc/q8TpMzKJROJQSwXLx9iE=; b=bHyQz9Llr230FR5GJRfjOpW8+ rSsILRWkMsfL0poX+Z7Kstn2GRU8o6nrbzU402+kJ5GD97x3Vt4J93FH/qYDdQGlC1qY6wXnId6+y tU/BhgY+OYTv+jngQ3lLJMQHCIEWEwV9cDqPucaod7qEntsLLd6BZynqX7fGTL4f+9D2k=; Received: from [192.168.2.1] (helo=steel) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1jk9qD-001LwO-A4; Sat, 13 Jun 2020 22:51:13 +0530 From: Arun Isaac In-Reply-To: <865zbvjddy.fsf@gmail.com> References: <20200601000030.7443-1-arunisaac@systemreboot.net> <20200601000030.7443-3-arunisaac@systemreboot.net> <87y2owmyf3.fsf@gnu.org> <865zbvjddy.fsf@gmail.com> Date: Sat, 13 Jun 2020 22:51:06 +0530 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=systemreboot.net header.s=default header.b=bHyQz9Ll; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -2.01 X-TUID: fbTIPR6KPph6 --=-=-= Content-Type: text/plain > I confirm that it changes nothing. See [1]. > > 1: http://issues.guix.gnu.org/39258#112 Yes, I did read your earlier mail. And, I tried again, this time with patch 1 alone. It certainly makes a difference on my machine. It is clear from the code logic that it should make a difference on your machine as well, at least for longer queries. But, somehow it isn't and I do not understand why. :-( Here are more fresh results. Could you try for longer queries like "strategy game caesar" and without the output being piped to recsel, grep, etc.? For simplicity, let's talk only about warm cache results. |----------------------------------+--------+-------| | query | before | after | |----------------------------------+--------+-------| | guix search strategy game | 2.58 | 1.96 | | guix search strategy game caesar | 2.95 | 1.76 | |----------------------------------+--------+-------| --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAl7lCwIACgkQLiXui2GA K7Prngf/V/Aw0jm45wsXT7y4WBkXsgG4noCOmagQck0gvadqDPYAvDomKVYgbatr I5YIy7IdpSfILpHKMQzaPHbUX6J2DxZ/F+yaO/nQDtybWujl/2VsxgF0mkc0r3d+ 1IY4jka8vxUleSgNzbfJBSMEvj5evSEnnlpBiN0M/ko0RY87HrrGKmZd9MTAzDCO WuUjlqIYFSCwndL6WfAXZeNLVNn3VogP98FSJWbYNL4D0B3hx87apvg4P6qq2j+l W5l601178ojQA2MaQ4qE+LuvXHzghknooWaAW5bUXKDMetxy/qytW/4SeLLHnelv 5Hjh6muvTy8M2f9mJLBbA82qoynr+w== =CSq0 -----END PGP SIGNATURE----- --=-=-=--