From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Bj=C3=B6rn?= Lindqvist Newsgroups: gmane.emacs.bugs Subject: bug#74357: c-mode: Some syntactic constructs cause unreasonable typing lag Date: Fri, 6 Dec 2024 21:53:12 +0100 Message-ID: References: <86v7wphrmi.fsf@gnu.org> <86ed3cinfg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4060"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 74357@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 06 21:55:21 2024 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 1tJfM9-0000tN-6j for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Dec 2024 21:55:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJfLv-0005rC-EG; Fri, 06 Dec 2024 15:55:08 -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 1tJfLs-0005qm-Ne for bug-gnu-emacs@gnu.org; Fri, 06 Dec 2024 15:55:04 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tJfLq-0005gZ-QO for bug-gnu-emacs@gnu.org; Fri, 06 Dec 2024 15:55:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=3vPjRVySlj7cU1BhQL4ZnJdZ5U9IXqvkfm6BaHzbhkY=; b=veaTKyoLG+5EYrUvhwBSq9H4H/8bjGk6xuS+vDN7yVPi5ZVjnUoLkouSzBHEta5DCFbzeX0CvZ2ImTH3TZcdidc9jFRjohnORdtpo4V+OTdH+yDezDaqw8MlzpAWshm8EfDFAWwgYdvPaQXKq7wwsUo0S+4SBP0rbHuAmdhX8s7WhuDHvqCX4Ezhi4vh05vaW17V3PrmjZa5ZD5B4mE3sWPJF1NBkwipele5SYhxz3E/HyOWoOes32oV2UtSkwbL7iU17ufuh1l3IuE2EzJoPDHcDqjolrZf3bAjznkaXyWIYxWtoMS58sgyiUQzmsxNRI6rjA2khoAirEwMfiHyJQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tJfLq-0006D5-Jv for bug-gnu-emacs@gnu.org; Fri, 06 Dec 2024 15:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Bj=C3=B6rn?= Lindqvist Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Dec 2024 20:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74357 X-GNU-PR-Package: emacs Original-Received: via spool by 74357-submit@debbugs.gnu.org id=B74357.173351847423784 (code B ref 74357); Fri, 06 Dec 2024 20:55:02 +0000 Original-Received: (at 74357) by debbugs.gnu.org; 6 Dec 2024 20:54:34 +0000 Original-Received: from localhost ([127.0.0.1]:44427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJfLO-0006BY-69 for submit@debbugs.gnu.org; Fri, 06 Dec 2024 15:54:34 -0500 Original-Received: from mail-vs1-f44.google.com ([209.85.217.44]:44282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJfLK-0006BF-0M for 74357@debbugs.gnu.org; Fri, 06 Dec 2024 15:54:32 -0500 Original-Received: by mail-vs1-f44.google.com with SMTP id ada2fe7eead31-4afa4094708so590033137.0 for <74357@debbugs.gnu.org>; Fri, 06 Dec 2024 12:54:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733518404; x=1734123204; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=3vPjRVySlj7cU1BhQL4ZnJdZ5U9IXqvkfm6BaHzbhkY=; b=lM5+pzogqdFMjc9X4bjEU1/HWqJhGojfTwfRnYTyzWpVZE/xVO6Uf46eVLvKYOj2O2 9jxRJUdz0WSvsHOrMnsyQ5f9gjkuVbR42Oc3URl2QwKYpq+qvG2mgFWLbMQc/na7qq/A 9Y+vXUI9hQhxr4Vtra0X+8aE8pIPO8yKtj/fptiGUSTwwBkAcWv1Oj0e53sMAsoInmxR qikt4ANRs70Wmqjfsyn9MzuwOmFVHrUfQEbfHrPdzGBHWo1FiCXaMsdj3ySxETslFI4K x2mOUAe44Oeh2UzQGZHWTE9Y8cb8PSBd8DoIfEEWG97IZ78IzIj9dbggRXj+jf+MnPic 7uLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733518404; x=1734123204; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3vPjRVySlj7cU1BhQL4ZnJdZ5U9IXqvkfm6BaHzbhkY=; b=jhT53SJ6Itla7C0O9jBTqCflUEx117ztTX1UMdbyXHUP4odygfBoy0pvz1sw5oTlPd v4hPkU0oEyCGl51wvOBv67ic9eP5wnOMITk4XKZc1dy0iFGpUgOypD2k1bCQqh982TIF NGD66mdCbtnJzJ/7qJCaEQjVV8Xz7k1gloW0kLcm5ishQNbdiYf3MswmdsL0lJ7jRZfu Dx6CBAr79RgWY2DHWl8egsnG+dPr/YdD42bmBdLGj10XxzVsVBOoLsN4wr6JaLpOpf0q dUix+5OdxxkaaUxEZVJlJDAIq4YV1KXjd9jQPYEkvtSuqwxqk3njH2bYpEi2zu8ClxIj Wepg== X-Forwarded-Encrypted: i=1; AJvYcCXsqTps/heHGXv7laADwyq7RTaYKaVCnhhy36+4mh/Y5Z1Xr+WWxXzwa4oNYJ5vdYUQbjLzug==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwxzW2rc5UBwdAY5N8Fo0aQPVJBXo93DJiQmAq5cVqow8eCck2Q r4kpTwycRdv+jI5UinEDs6WBSRxD+Locf8I9jOp3Lvy1n7hbypBOgwhFLMUe0mE2MO6KfJ549A7 AbBCLhzViS7ek0adpAYV87W8C0AY= X-Gm-Gg: ASbGncuBSm5QfuKi+F8p8Jowb1A9k3O5sW1AJJNa2t/5oWpVssx6Qj0cyiyCORSBr10 ZkIRkM0FAXuBl8FHXPD7kD0NSittrgHI= X-Google-Smtp-Source: AGHT+IF3+cQXMGuH1tmIR4yHxcRe4xjj7q9fzZi4KO/uB+Ns5Y9hn276/KosyXohWwsYqfZTdzEcXlqSPN94TDq2kSQ= X-Received: by 2002:a05:6102:50a0:b0:4af:63eb:4972 with SMTP id ada2fe7eead31-4afcaac5ae1mr5952303137.21.1733518404369; Fri, 06 Dec 2024 12:53:24 -0800 (PST) In-Reply-To: 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:296522 Archived-At: Hi Alan, Den s=C3=B6n 1 dec. 2024 kl 18:49 skrev Alan Mackenzie : > > Hello, Bj=C3=B6rn. > > I've committed the patch to the Emacs master branch, after having done a > little more optimisation on it. I haven't closed the bug, yet, though. > > The question is, is the patch good enough to close the bug? What do you > think? On my timings, typing in 20 y's at Line 328 of your test file, > with the patch was approximately three times as fast as before it. Unfortunately, I'm not able to test your patch on my slow machine so that will have to wait until the next Emacs release hits the Arch repositories. But I'm quite happy with what you've accomplished already. Typing in c-mode feels much faster than before. Thanks! --=20 mvh/best regards Bj=C3=B6rn Lindqvist