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: I created a faster JSON parser Date: Sat, 09 Mar 2024 16:21:06 +0200 Message-ID: <867cibxz8t.fsf@gnu.org> 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> <86bk7ny2d7.fsf@gnu.org> <87frwzmrg9.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="26312"; 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 Sat Mar 09 15:22:00 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 1rixaK-0006Yb-5B for ged-emacs-devel@m.gmane-mx.org; Sat, 09 Mar 2024 15:22:00 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rixZb-0001d5-Nx; Sat, 09 Mar 2024 09:21:15 -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 1rixZU-0001ck-Pb for emacs-devel@gnu.org; Sat, 09 Mar 2024 09:21:10 -0500 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 1rixZU-0004FS-GS; Sat, 09 Mar 2024 09:21:08 -0500 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=GEdQ5ZePKQBPT8UUsmj0gPsPHmAqfKdli2LbZRkHctM=; b=sX3ZVyZ1dsFPPf+F5o1D 4COFGAutzMXaA5oPdH1df2fEZwx0bo7bdwlKRtvh3xOEg12zo/1YtuDQRpT0wLdtMXYbiRtFs0YKL 714FjXn0YiZ/cbyCGI/BZISkm0QLgBS6bAgBMkmr96EtTsblNYiOdw25J+YucWr1WBbVIzd5AxcdR ua33RJkllUiwo9rH+7yaTo7j9QLbfFuMn5B8MX4wqc7TNoKT7RKEfj81/Snbn74qh3TMFD8KjAu4h k68WI5zvvuMmS5EPrJNG9uRRWZmPMI40Nwr5eVnFWZUXdAbmwVSNS/zrVxCQQFH7/81m+K1GcbywP EQjxliznEPJSpw==; In-Reply-To: <87frwzmrg9.fsf@gmail.com> (message from Herman, =?utf-8?Q?G?= =?utf-8?Q?=C3=A9za?= on Sat, 09 Mar 2024 15:00:09 +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:316949 Archived-At: > From: Herman, Géza > Cc: Géza Herman , > emacs-devel@gnu.org > Date: Sat, 09 Mar 2024 15:00:09 +0100 > > > Eli Zaretskii writes: > > >> How can we proceed further? This is the current state of the > >> patch: > >> https://github.com/geza-herman/emacs/commit/ce5d990776a1ccdfd0b6d9c4d5e5e5df55245672.patch > > > > What about removing the dependency on jansson altogether? > > Unless it also turns out to be a serious bottleneck, I'm not too > motivated to work on that. That's a pity, because using jansson for part of the job and our own code for the other part makes little sense to me. So I hope you will reconsider, because having our own JSON code is a very attractive development for Emacs, it opens several possibilities for future extensions that using an external library cannot. > Based on Po Lu's comments, I added some parentheses, here's the > latest version: Thanks.