From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Speedup of functions to en/decode UTF-8 text Date: Sat, 23 Nov 2019 10:43:08 +0000 Message-ID: References: <83d0djue4q.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="6912"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Ivan Yonchovski , emacs-devel To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 23 11:43:59 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iYStT-0001Z3-88 for ged-emacs-devel@m.gmane.org; Sat, 23 Nov 2019 11:43:59 +0100 Original-Received: from localhost ([::1]:58008 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iYStM-00056W-62 for ged-emacs-devel@m.gmane.org; Sat, 23 Nov 2019 05:43:52 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54522) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iYSst-00056P-Sq for emacs-devel@gnu.org; Sat, 23 Nov 2019 05:43:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iYSss-0005R7-Rm for emacs-devel@gnu.org; Sat, 23 Nov 2019 05:43:23 -0500 Original-Received: from mail-io1-xd31.google.com ([2607:f8b0:4864:20::d31]:39810) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iYSsr-0005P1-Fy; Sat, 23 Nov 2019 05:43:21 -0500 Original-Received: by mail-io1-xd31.google.com with SMTP id k1so10898763ioj.6; Sat, 23 Nov 2019 02:43:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=bHUww+ufszAnZVnhrZ5HruT45wCJt5bY/XYsm7DAXuY=; b=ovUSMKzNpK+ICGS2UACrnD2edbTJI7uPDM2Zxpf/2MQD6c97OkWNDvYJqduVshGG5o ecPk9svVambf/UZI45CWFHur4EGabPWdNw/6p6gukCPfitwwxA+6BDe6wB00+eium30s UroPq8WWEhKWKQ+2fEiicYsJDc4ADCx47WHiviwmuRotxKCE0WYKHJAtTqAfcnuGq+To yxxg1wWJ1e6Y83DTkIoGTL9JS/6RH/HL3u8mXb1GoC0+zgHMwVlQSkyuO9GacZZqVMSk AZ1ctNhdGsAMGjTFFMkmNPHv05Cz7myEWaAWO8lqZkP8r9fyVv0ta7efoqCob8ooSGSs yRcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=bHUww+ufszAnZVnhrZ5HruT45wCJt5bY/XYsm7DAXuY=; b=Po7mw+I1J9+IPrMwl9LxiBP9kGPU8TSHA43Akd04M8GQp63AHCX7q2br66JdV204we te/qsWOcaxKIOlwFmeZSioo6FbkbjWr0zm/40AZ7hsvu/tinp9sHbbDDGrEuDKZPDPlK dG8+/Qb+++jzCz7zxOcEX+npVIK0PX+luCd+ttwksqly9UHjlU/bdhvQMT6SV+vbeg/V t5BqPzon5rPxPKzAFpHMwU8Ku8ScpzbpdFfUo0f+3LYENGwgYnrQyUH2MdsQ6OGJwgW1 5/aztwjGYZ4xNTy9PTyQBhQRsYwnAA6Nt4zRADZcAD7hskBs1xQ05jXatgtI5E2paCD3 q/dA== X-Gm-Message-State: APjAAAX3SbeXiYSzX+LfUfcnnu1tuo0j6akm/2TXQPDicmRJHZV3WrCX h4rlA/z5ekOz0s8w9FUDRvpAS0cV7th7OXZ0kbimfZwm X-Google-Smtp-Source: APXvYqx0jn9wVSThUMmh4JSxhv241M/8Sibv8qjspkHG9vW6FVlS7NX98UD9rJq+9ZZUmQEbUK4yWzjPVK1YIJB/3to= X-Received: by 2002:a5e:db0d:: with SMTP id q13mr6163973iop.199.1574505799997; Sat, 23 Nov 2019 02:43:19 -0800 (PST) In-Reply-To: <83d0djue4q.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::d31 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:242636 Archived-At: I work on multiple branches, and I don't always wish to rebase them on top of master. Can you say exactly what commit SHA's your changes consists of, presuming I can cherry-pick them to those branches? Thanks, Jo=C3=A3o On Sat, Nov 23, 2019 at 9:38 AM Eli Zaretskii wrote: > > I've made some changes in the functions that encode and decode UTF-8 > text in an optimized fashion. This is expected to speed up JSON > handling. Some preliminary benchmarking of the decoding function > indicates speed improvements starting at modest 30-40%, and sometimes > much higher -- tenfold or more. I'm not sure how this will fare in > the real-life handling of JSON objects, so I'd welcome speed > measurements of the current master branch as compared to previous > versions (yesterday and older) in real-life scenarios, in particular > in LSP and Eglot. Please report the results here, and if there are > some significantly adverse effects of these changes, please report > them as bugs. > > TIA -- Jo=C3=A3o T=C3=A1vora