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?Herman=2C_G=C3=A9za?= Newsgroups: gmane.emacs.devel Subject: Re: I created a faster JSON parser Date: Fri, 08 Mar 2024 14:12:19 +0100 Message-ID: <874jdg97xm.fsf@gmail.com> References: <87a5n96mb5.fsf@gmail.com> <861q8l0w2c.fsf@gnu.org> <878r2s99j0.fsf@gmail.com> <86y1aszxom.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11625"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?utf-8?Q?G=C3=A9za?= Herman , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Mar 08 14:21:04 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 1ria9n-0002rc-Sa for ged-emacs-devel@m.gmane-mx.org; Fri, 08 Mar 2024 14:21:03 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ria9N-00068u-KH; Fri, 08 Mar 2024 08:20:37 -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 1ria9G-00068a-Vl for emacs-devel@gnu.org; Fri, 08 Mar 2024 08:20:33 -0500 Original-Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ria9C-0000vQ-L1; Fri, 08 Mar 2024 08:20:29 -0500 Original-Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-51336ab1fb7so1084541e87.1; Fri, 08 Mar 2024 05:20:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709904023; x=1710508823; darn=gnu.org; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :references:from:to:cc:subject:date:message-id:reply-to; bh=AL+I+XW+j6fd7jUvSwnQEJEOjR9MFC0mtXUSLSsTdro=; b=b9WBTK2Lh7RycDk/cJKovXRMNHotdlmCyeK13I425u7jUyjqxQx2Fy2CuwrlxHp/0O DuwU3qaUMNOAZdoWtSBRuWg0qsL02JorPcCXcnzF2KnnE8q9f/pylaOZadpXE02ZHwaO 1RDAsIYQHoa40+KmosdtHMiDYJo7WhsPTgkTQ4bzWOZ7Vpe4BXnsCQip/+m2akMKc+7O /jOk8+DFIT4SXdCfgwfY/LnVLERTUQm1nLJAFlUqV/QEXgXQkDHNOABU/sI2gbIxIRVE Azmn+c36fGkb8xsTS3eVeOkwYptzDoEBvq3Uw4tvEPvyulGGVOPhrLLe3/qsGFb6LTc8 abDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709904023; x=1710508823; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :references:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AL+I+XW+j6fd7jUvSwnQEJEOjR9MFC0mtXUSLSsTdro=; b=HlK+Barvx4tqDiLyv9E8kPfyxYJjIg8/Wx2JISEk3C5JSQ0XyUHt2KOqwH+yAQPzsk OD/C9FiFVe+akHkYYGbKkdyQg6rNAVuVyEVBBsDdO94LmBc0+CeRQ3mALSmxfJPOEcne JDP4RIkTFFigzFJaIU3u6PhUOjYZ7HzvYYblfImPKd5kfWe1P4LCHVixS/TRrL4u0m8u rHoN/FDf3EcZAgxj6sNnpoOCnVFPzJfYfV77MP1bd1x1BXhLntRELEKGLJ/7Stp83yxj pxji/kgQ/d6awDiCJaB6aCJQSDTK/7HS9Vqw+choYHxm8gCAYS+Nn5msQ0elYw7Yr8gP RFkQ== X-Forwarded-Encrypted: i=1; AJvYcCWBmBp0ABlC1dxnuTjhS3BONSvNV4uqO9iU0Oeu4UBXJh3QlLHho8qA0UkYSeCGzl6cSuLeGR/4s/9yWfxahbz6c9cX X-Gm-Message-State: AOJu0YwUlwn5LX0kbKWQ03ohid16KyVN+qmAvMmbo45HjdM5wjMZh+kp oBFMgCu/dYNl5AQ5wL7RMqYT4N77J/RL0Pggscg7QIQp3BoBGc8lDl7yk9PQ X-Google-Smtp-Source: AGHT+IEdMAl8ZlLfXAU/SZEjipUJcd5hJ9FquIiKLjsvDbrXTkGXIIqfzx8CGJeJDWRCMSfNmjlTWg== X-Received: by 2002:a05:6512:3e15:b0:513:83ee:a1b2 with SMTP id i21-20020a0565123e1500b0051383eea1b2mr4152822lfv.31.1709904023183; Fri, 08 Mar 2024 05:20:23 -0800 (PST) Original-Received: from localhost (netacc-gpn-4-80-29.pool.yettel.hu. [84.224.80.29]) by smtp.gmail.com with ESMTPSA id bk23-20020a0560001d9700b0033d282c7537sm23311367wrb.23.2024.03.08.05.20.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 05:20:22 -0800 (PST) In-reply-to: <86y1aszxom.fsf@gnu.org> Received-SPF: pass client-ip=2a00:1450:4864:20::136; envelope-from=geza.herman@gmail.com; helo=mail-lf1-x136.google.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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:316909 Archived-At: Eli Zaretskii writes: > So, if you are willing to contribute this code to Emacs, what is > left > is: > > . clean up the code (e.g., currently it still calls the > function > that on MS-Windows loads the jansson DLL, which is now > unneeded) > and adjust it to our style and conventions; I can remove the WINDOWSNT related #ifs. Are there any more comments? I formatted my code with clangd, is there anything else that should be done? > . thoroughly test the code on the available test suites (or > maybe > you already did); I tested it on github.com/nst/JSONTestSuite, it passes all "y_" and "n_" tests in the directory "test_parsing". If you're aware of other test repositories, I'm happy to test on them as well. > . for you to assign the copyright to the FSF, without which we > cannot accept such a substantial contribution Can you please send me the necessary documents?