From nobody Fri Apr 15 04:57:33 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B338B1B3E3B3 for ; Fri, 15 Apr 2022 04:57:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KfkbK3wqcz3FMW for ; Fri, 15 Apr 2022 04:57:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 633576C25 for ; Fri, 15 Apr 2022 04:57:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 23F4vXDm035959 for ; Fri, 15 Apr 2022 04:57:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23F4vXmi035958 for bugs@FreeBSD.org; Fri, 15 Apr 2022 04:57:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 255525] grep performance problem Date: Fri, 15 Apr 2022 04:57:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: parakleta@darkreality.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649998653; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KY3lxExF4relxRlQUNb7l2x0DowHwri3bYl10LwEkTo=; b=RV5iah/r0k0JqiGfk7UX05k5562TldceUw2GvsyQ2T08SEmttbPssccMvPvaTxoA3EQTxp 574dEWVE4g6pEdlhT1HAzLrFDceebuEWUSlAj0s4913yJrjh0iIqYnAc26A4MYZIK1yvm4 /Fa8hb1zpHG5NTNh4hn3Kuezu8dInkP4M3fGls9N+Rd3zqUDD3lXNEFipR3jjWVtFLcSv1 xkC3swNXhvKVrc3VjvTzf1iu381EMDudAeeuSV/0YBcxk1iBjUJ54uMVNJKy8ZGNRqGrF1 al6Vwm1Ts19m2XZKNCAKdaXENF+JtIHuJ4LVWai3flwLjSsC6aK2+1TDEBRtQQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649998653; a=rsa-sha256; cv=none; b=l4EJCo0yzCX0vMUg5iC83JdOEtnrOdEuxZStQCZcSqiblI4QF0rqvgtro0rclMviidDHEh xdp62bpmayPndfMzPx0+FJj6XN7fW0kXcCsNaoRvYPVSOh0MxRQPVC6fq6osCEir0Sswz2 A5VYz1Nf7sYDbiUOXtk3NSRGODmuVf0lmcrqgOwpq3nxUdyTCenvCmjB2almpc3h7atqVd aNDCFkiWt2BQZwZj5xuB2ZvJR/vVNVTbU8Whsfvb0h6bzXbFcf/tKtFCDfPUAvODW0+4jl kqwDUS1F07elSl+Yj7xjvoEdT0M+p2yXU3Z8w1SU0QGU2NCnra5jvuRc1/fcCw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255525 --- Comment #4 from Duane --- Just out of interest I had a look around at the available regex libraries a= nd I think probably the way forward for base would be to update to the newer Hen= ry Spencer regex library from within the TCL codebase. It's one of the smaller regex libraries around but uses NFA/DFA for speed. I would propose using https://github.com/garyhouston/hsrex as a starting po= int (this has been extracted from TCL by patching over the TCL dependencies). --=20 You are receiving this mail because: You are the assignee for the bug.=