From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#61514: 30.0.50; sadistically long xml line hangs emacs Date: Mon, 20 Feb 2023 10:02:40 -0500 Message-ID: References: <87lel0c65v.fsf@everybody.org> <838rgvymcd.fsf@gnu.org> <831qmkwmux.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38697"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 61514@debbugs.gnu.org, mah@everybody.org To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 20 16:03:54 2023 Return-path: Envelope-to: geb-bug-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 1pU7hp-0009mI-6E for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Feb 2023 16:03:53 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pU7h2-0000D3-HV; Mon, 20 Feb 2023 10:03:04 -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 1pU7h0-0000CV-Rp for bug-gnu-emacs@gnu.org; Mon, 20 Feb 2023 10:03:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pU7h0-0007lc-8S for bug-gnu-emacs@gnu.org; Mon, 20 Feb 2023 10:03:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pU7h0-0008G7-3S for bug-gnu-emacs@gnu.org; Mon, 20 Feb 2023 10:03:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Feb 2023 15:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61514 X-GNU-PR-Package: emacs Original-Received: via spool by 61514-submit@debbugs.gnu.org id=B61514.167690537031723 (code B ref 61514); Mon, 20 Feb 2023 15:03:02 +0000 Original-Received: (at 61514) by debbugs.gnu.org; 20 Feb 2023 15:02:50 +0000 Original-Received: from localhost ([127.0.0.1]:53261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pU7gn-0008Fa-M6 for submit@debbugs.gnu.org; Mon, 20 Feb 2023 10:02:49 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:15720) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pU7gm-0008FO-LQ for 61514@debbugs.gnu.org; Mon, 20 Feb 2023 10:02:49 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 5880F44091D; Mon, 20 Feb 2023 10:02:43 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 0BF2A4408BB; Mon, 20 Feb 2023 10:02:42 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1676905362; bh=oNgbAHhzaqbzYhfUeQb8JoEFeEwsBSMzDaO8WSL99WM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=C94QNa78ZGrjwUW+bkYgHVm5V0HHUzVuK9dwLDHKdde9WnqBBQUxyHC7jaCz3QADO Ne09KHemI/fHAIUTSDyxpFosrWBUcVwbkCGTG+JXeBCDR/vwLRP5V9h8mZJo0HgCQ4 WJ7/Kfk1W1QCdP/QwRYrRpPZS7AByfXLrWXp2uFOHz8xHsyD+QTYn/45fo9uQz/BbZ FGjn7xL6sWOExApxJF+Iyxd79J6alUVrBRgLs+FWrOeel+mOFmNyu44nO+VUR0epeB yqo8kS4N7Lw10ntbLW5/RUM8LIDuDE3s4ZFu+cUO/BV8bjXXWDOys8cDY8dAW/WwM2 Ikv/lBFMGKn8g== Original-Received: from pastel (unknown [216.154.34.24]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id C72FD12303D; Mon, 20 Feb 2023 10:02:41 -0500 (EST) In-Reply-To: (Gregory Heytings's message of "Mon, 20 Feb 2023 14:24:09 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:256190 Archived-At: > Indeed. That's the bug in the bug. But it's the '+?' repetition which > causes the "infloop", right? It's the `+?` which causes the N repetitions of the O(N) time match, resulting in an O(N=B2) complexity, I think, yes. Stefan