From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#31138: Native json slower than json.el Date: Mon, 22 Apr 2019 18:31:15 +0300 Message-ID: <256a3d8a-2d1a-4cf7-7217-46df4059d93e@yandex.ru> References: <87sh806xwa.fsf@chapu.is> <83lg12n75s.fsf@gnu.org> <83h8bqn2ik.fsf@gnu.org> <83zhphliil.fsf@gnu.org> <181b93a3-3861-0481-1b95-8344410d1049@yandex.ru> <83r2a2hdxn.fsf@gnu.org> <21f68973-a684-2a65-82eb-c8f3df90127f@yandex.ru> <83d0lmgez2.fsf@gnu.org> <7d503be9-4d85-3d0b-6829-631ad376ba3d@yandex.ru> <831s22gcci.fsf@gnu.org> <83y349gasn.fsf@gnu.org> <83d0lfag4x.fsf@gnu.org> <5cf45a21-65c3-67ee-f123-be83a6ee7c99@yandex.ru> <83a7gjaen6.fsf@gnu.org> <837ebnabkf.fsf@gnu.org> <83zhoj8shg.fsf@gnu.org> <6cc7472a-e9b2-5e30-3c44-1709056c02f5@yandex.ru> <83d0le8q8b.fsf@gnu.org> <3ae05c72-88bb-8748-2a2c-beae2d9a2746@yandex.ru> <835zr66p21.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="138401"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 Cc: sebastien@chapu.is, yyoncho@gmail.com, 31138@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 22 17:32:53 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hIaw7-000Zv4-Sb for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Apr 2019 17:32:52 +0200 Original-Received: from localhost ([127.0.0.1]:38959 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIaw6-0002k0-SV for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Apr 2019 11:32:50 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58616) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIavO-0002QG-4R for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2019 11:32:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hIavN-0006CJ-5S for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2019 11:32:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37724) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hIavJ-00069w-Sb for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2019 11:32:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hIavJ-00020Y-ND for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2019 11:32:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Apr 2019 15:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31138 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 31138-submit@debbugs.gnu.org id=B31138.15559470857667 (code B ref 31138); Mon, 22 Apr 2019 15:32:01 +0000 Original-Received: (at 31138) by debbugs.gnu.org; 22 Apr 2019 15:31:25 +0000 Original-Received: from localhost ([127.0.0.1]:51268 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIauj-0001zb-FC for submit@debbugs.gnu.org; Mon, 22 Apr 2019 11:31:25 -0400 Original-Received: from mail-wm1-f41.google.com ([209.85.128.41]:52001) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIaui-0001zP-D9 for 31138@debbugs.gnu.org; Mon, 22 Apr 2019 11:31:24 -0400 Original-Received: by mail-wm1-f41.google.com with SMTP id 4so14866312wmf.1 for <31138@debbugs.gnu.org>; Mon, 22 Apr 2019 08:31:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=u4HytY8wOepVS74ozCA3Nq164gFYu8TKMg12o/dripA=; b=nxXVlfRzfqK4gOou4XN1URw4FH4nZarGSGnybUOrIxbWh7oV9Me73pbFf9IYs9QeaQ uITmnUwbrrU8l1szfovCuDELEHZShDwVtE2V/Rlcb6WC8sF48Ycnt3QFV3dpPOt15Ow1 F4Ogkhy+lDh9k7z1M6MtK8l1accVk71U+qbzIpbGstt8q1VIFbDugeWSU8Itgt+lpQbo TAuLihLe732HuX5Y5Cslhy98ML7RC/31Pins0eentZ95KuHeScS/BEMf+xMQnD3STOCK 3izGOwQBJanEdJDSKyl3bqs1Y/3aWYAS/cRhBxIhaCuc1RFM7nhuuWdzFAz0M5WCru8h lCLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=u4HytY8wOepVS74ozCA3Nq164gFYu8TKMg12o/dripA=; b=FyB4q52q3Z1Q+nxz1jGnSeB48rCepHAwmSYkDN87CJEPqwqHJNogBkmWHU6jlFGUW7 g1jYZMi+nO6wIDZ5gYyAE3iVVLGnncBOD6nLfwTVJxxWFopUtPVLFOtX40Mq73kv3XM5 UDpAqYgNEQBpjWIGXfSlfw1PESpAHRU6N9YHn0vHnPqPc487F7Wqf4c2TQ3WYWSG/e/s dv67s23L4le32yDi30kx43xZ4wl+Gg8QPQ/65DVBaoFP3BGl9Q2yDVanUvU6Qg7Ygd4J WYj3RIYQVu7h60CGQroKYoXfOWAcYSdFQ3LXc+xCkZ9R2x2m72jf/KsWHgbwpJcMlqjx 8B7g== X-Gm-Message-State: APjAAAXsLu/L8I+7YtGqS2jeCUCoVVc0+5CWzCgw62E0YYiBFUaZ+vns Y2pVLsMXKa+wOnrrysMYRRKxJIx7 X-Google-Smtp-Source: APXvYqyS6uyVKBYRUkHDdfPFP910zn025aCzngaAZxmT2I1Yrnsq5F/KbwviBri8JNL4pO54JDobvw== X-Received: by 2002:a1c:cb08:: with SMTP id b8mr132023wmg.59.1555947078391; Mon, 22 Apr 2019 08:31:18 -0700 (PDT) Original-Received: from [192.168.0.195] ([109.110.245.170]) by smtp.googlemail.com with ESMTPSA id b9sm18123912wmc.9.2019.04.22.08.31.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Apr 2019 08:31:17 -0700 (PDT) In-Reply-To: <835zr66p21.fsf@gnu.org> Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:158048 Archived-At: On 22.04.2019 18:24, Eli Zaretskii wrote: >> That actually means that speeding up code_convert_string might >> *potentially* (e.g. if it's infinitely fast) yield more than 50% >> performance improvement. > code_convert_string doesn't do much, it just calls the encoding or > decoding function. Right. I don't mean that the change would be inside code_convert_string's implementation necessarily. Probably in some of functions it calls.