From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Implement fast verisons of json-parse functions Date: Tue, 19 Mar 2024 21:28:33 +0200 Message-ID: <865xxi3tsu.fsf@gnu.org> References: <87h6h2rsgn.fsf@gmail.com> <867chy3vpm.fsf@gnu.org> <87cyrqrqnb.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13373"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: =?utf-8?Q?G=C3=A9za_Herman?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Mar 19 20:29:39 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 1rmf9W-0003G5-La for ged-emacs-devel@m.gmane-mx.org; Tue, 19 Mar 2024 20:29:38 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmf8b-0002tN-3H; Tue, 19 Mar 2024 15:28:41 -0400 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 1rmf8Y-0002t8-OC for emacs-devel@gnu.org; Tue, 19 Mar 2024 15:28:39 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rmf8X-0006hN-R1; Tue, 19 Mar 2024 15:28:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=xFlz8MTgCyB5vTxhIe2fCclt42xhnRUesIcdAWDFdK4=; b=aNEzxj69jVyPkjxfKZC7 qKTJoabK+Ke8Hm4nUETQsE3/3kLcOptHIloXjF2MqooKLRRxWKhhiYfPFzZo5xlnqqpD6rtEpkVfL ny4xNVsO6lB9eRMXYxEbe9RPKigbjcy5E8fzLdjJWazv4kotQewrG4eIiPkseN0NFYX5uU7PTyfs2 kYC4UDfK66wzGdOts7LcsPRBy6VQic8Lgnvv5GJa9XDF/aQI8wAi0WhNrLSqr3lb4BaubjW8JcZEc L8N2ntLzXywYP4vpiUfi8kbGfhDNA2iW87Ez7sMBb9oUzOKZS9IUxblAuNxzBvcPW6eSjSYqbEQkG HjCIFE5bYumPQw==; In-Reply-To: <87cyrqrqnb.fsf@gmail.com> (message from Herman, =?utf-8?Q?G?= =?utf-8?Q?=C3=A9za?= on Tue, 19 Mar 2024 19:50:26 +0100) 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:317197 Archived-At: > From: Herman, Géza > Cc: Géza Herman , > emacs-devel@gnu.org > Date: Tue, 19 Mar 2024 19:50:26 +0100 > > I created this, because you previously said: " > That's okay, we can start by making this an optional feature, and > consider making it the default after a couple of major releases; > meanwhile, any problems will be detected and reported." An optional feature I had in mind was conditional compilation, so that users should decide at build time which version they want. But the names and signatures of the functions exposed to Lisp should be the same in both cases, so that Lisp programmers don't need to change their programs to cater to both alternatives. Apologies if what I wrote was not clear enough about that. For the future, I suggest that we discuss the practical implication of significant changes before you go ahead and invest many hours in implementing and testing them. I would like to avoid situations where you invest significant efforts based on misunderstandings. Thanks.