From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: I created a faster JSON parser Date: Sat, 09 Mar 2024 20:58:56 +0800 Message-ID: <87edcjy31r.fsf@yahoo.com> References: <87a5n96mb5.fsf@gmail.com> <861q8l0w2c.fsf@gnu.org> <878r2s99j0.fsf@gmail.com> <86y1aszxom.fsf@gnu.org> <874jdg97xm.fsf@gmail.com> <86ttlgzuew.fsf@gnu.org> <875xxw3f3a.fsf@gmail.com> <86plw4zo9u.fsf@gnu.org> <87edcktumt.fsf@gmail.com> <86cys4zec7.fsf@gnu.org> <87a5n8to8m.fsf@gmail.com> <86a5n7zykr.fsf@gnu.org> <874jdfocst.fsf@gmail.com> 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="27305"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , emacs-devel@gnu.org To: =?utf-8?Q?Herman=2C_G=C3=A9za?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Mar 09 14:00:24 2024 Return-path: Envelope-to: ged-emacs-devel@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 1riwJL-0006ru-I2 for ged-emacs-devel@m.gmane-mx.org; Sat, 09 Mar 2024 14:00:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1riwIT-0005XG-0p; Sat, 09 Mar 2024 07:59:29 -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 1riwIR-0005X2-Gc for emacs-devel@gnu.org; Sat, 09 Mar 2024 07:59:27 -0500 Original-Received: from sonic310-23.consmr.mail.ne1.yahoo.com ([66.163.186.204]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1riwIC-0004PP-43 for emacs-devel@gnu.org; Sat, 09 Mar 2024 07:59:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1709989150; bh=T4EeFIFsKs1UVO+6gfR8QGSnSSy5ajgDyWpGpKZ2Tcc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=HVHNICwXo1YISNswz1rhysyORMisRqUGYwSKw7GfQ9UYCaTQ0k1+IsMtcAIVLhBsSq4AKKaSDDCk1E408NjCcNTGxBmpXXGcxWTpia9j43PGCkLt53Uv0yN3bhTjsqIOI0hlw4BwiI3yYpNFg3IaDVsC8dYBi77vDe6NzryuXsDOhu2r83JpC32aOvfn7z5sYEJX4OSFQsOMurh9Fj6SuIB3qKd7KUPWLJKLhnwzPGRneNRddLKoBq1QL3wWCQlMAdIrvXoOf81VAFZeoqvSe1xezvKzR3twSQbTu28F3dtV/sGbmAPP4i2OMEWjKR5o0OkCo8NnUt9DwrS76bJapg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1709989150; bh=rlsnmbQhM3p5pyfzda0x/ZkjUohkNMOcWDsT8RHON4o=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=tyXm0V9Dj3tIpEVCz2QRl3iiP3PMjxZbnJb4cdzItTF5dz2flT+fLFp5nmVw+lb6HFeqkI1IdPzgBXZZ0RzwACQy3ZigDuIpRLx5o80GJWh4Qh+hvKVIxp4+VsmisYwiw97FwWLGGEYqrN8xZnF8iiTHGHB2iMBP+NFr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-MF: X-Sonic-ID: 8f79d210-127d-48eb-97f2-5ba43a004358 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ne1.yahoo.com with HTTP; Sat, 9 Mar 2024 12:59:10 +0000 Original-Received: by hermes--production-sg3-6dc75bc8fb-pccgz (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID dc2bd2e5d305845e01895276bad8060e; Sat, 09 Mar 2024 12:59:03 +0000 (UTC) In-Reply-To: <874jdfocst.fsf@gmail.com> ("Herman, =?utf-8?Q?G=C3=A9za=22's?= message of "Sat, 09 Mar 2024 12:08:54 +0100") X-Mailer: WebService/1.1.22129 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.186.204; envelope-from=luangruo@yahoo.com; helo=sonic310-23.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:316940 Archived-At: "Herman, G=C3=A9za" writes: > I think I did everything that was asked for, except Po Lu's > parenthesis-related comment, because I still don't know what to > parenthesize and what not to. I saw a lot of "a + x * y" kind of > expressions in emacs codebase without any parenthesis. Are the exact > rules documented somewhere? Simple statements as above, which fit in one line, don't require the extra parentheses. The objective of these parentheses is to enable indenting statements satisfactorily with CC Mode's indentation commands, and so that such indentation does not give readers a misleading impression of the statement's structure. https://www.gnu.org/prep/standards/standards.html#Formatting