From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.devel Subject: Re: Performance degradation from long lines Date: Fri, 26 Oct 2018 16:05:25 +0800 Message-ID: <87o9bhku9m.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> References: <83lg6mqdfh.fsf@gnu.org> <87va5pkxae.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <83mur1p3oj.fsf@gnu.org> <87r2gdkvl6.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <83in1pp2ct.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1540541115 21075 195.159.176.226 (26 Oct 2018 08:05:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 26 Oct 2018 08:05:15 +0000 (UTC) Cc: mithraeum@protonmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 26 10:05:10 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gFx7G-0005N5-Id for ged-emacs-devel@m.gmane.org; Fri, 26 Oct 2018 10:05:10 +0200 Original-Received: from localhost ([::1]:58763 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFx9M-0002Zt-SD for ged-emacs-devel@m.gmane.org; Fri, 26 Oct 2018 04:07:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55831) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFx9G-0002Za-4x for emacs-devel@gnu.org; Fri, 26 Oct 2018 04:07:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFx9F-0006mT-Bi for emacs-devel@gnu.org; Fri, 26 Oct 2018 04:07:14 -0400 Original-Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]:41217) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gFx9A-0006im-Ok; Fri, 26 Oct 2018 04:07:08 -0400 Original-Received: by mail-pf1-x42c.google.com with SMTP id a19-v6so140479pfo.8; Fri, 26 Oct 2018 01:07:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=9OEMKo9wiBVZ4Ak/4CRyi8wzCI7Gm34oyuw8/6oRkz0=; b=nB/xLDHLFPC1n859h0bcdkcTuM2idgZtu7E2FE7AQameSVViGHgdxQA3LYVFt04sFf d2bGibvQ5Ky47aVsNIKJpdPHcpWvCafcjilKqo/+GmphRsf5XVYW4/Lt7iNaFlQmBKJu Ykh9xf7FfQvP9HLtmuNqBYUyMliWBhiE/6mrQ5DVBEqo+UURhekW6NbKSTEhYv3ttsqF IEcNkDD9fYD51sh9np43zUfvi0qKeViug63YlXLc1bWd42jrz80X6WZOQ37TUbmYCqb8 Rn0twElRczl8ApA9OtJYcmgJUn5qtu2OQt2dk4olXTXdc9NN4gTCH5LbyoQEoZPQVyzN xp6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=9OEMKo9wiBVZ4Ak/4CRyi8wzCI7Gm34oyuw8/6oRkz0=; b=sijcg3/fm7M+YK1mMgDdklYfeanFigAlJ0qXDmi2549LAs2IQYU2kEBtMmW7Hh3MCg HRSJ/QmTvxajE6J2HKIWPKqiB5dbrOj6izh8VXMWxWQjNNF+z/pgVDNfgRkgaFTHiKho 8cjCm9jyBDpEchex15D4+0ro2HUfgOumTmD82NQR1RFwYR1Q1qokTW7L+E91ls4XFUGm r2l88oebB6oDabZexX/200nx+y7kPyBhkd2VjD7cspJRCKvbEWH0c90GF4jTAHjOUzpn Y1NXC7pf4H/Se3xZ86Fg3ykFhVesti31N9wJRcmKWwQiciMgpTzf2qdrQsu0tw3EeJzZ fwrA== X-Gm-Message-State: AGRZ1gINgSDwqJt6yzGN78QN/Ud4ZgMlptmq4nHqk6uyQ5HEYKFV6yve LKYnnfeuF0Qn+VWb2BLa7WgbysreHlY= X-Google-Smtp-Source: AJdET5dAAH3bHw03fFkBKBcuaEWl+79reTwOZ0Hi99sfNTAkrfqraP+BzS5AcbM6nr6VA2y3TQ2qKA== X-Received: by 2002:a62:d148:: with SMTP id t8-v6mr1907818pfl.212.1540541227051; Fri, 26 Oct 2018 01:07:07 -0700 (PDT) Original-Received: from localhost ([103.24.77.51]) by smtp.gmail.com with ESMTPSA id n64-v6sm9388931pfh.166.2018.10.26.01.07.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Oct 2018 01:07:06 -0700 (PDT) In-Reply-To: <83in1pp2ct.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::42c X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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:230693 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable > Not in all cases, but certainly in some. I can say the same about the whole long lines problem. > How about asking Org developers to do something about these cases, > like not using the entire buffer as a literal string argument, to > avoid such problems? Well, in org-mode, the buffer is parsed into s-exp containing all the buffer elements and the associated text, which can be even longer that the buffer string itself. So, the long line is what the parser returns. This approach is a part of the core implementation of the org-mode and cannot be changed easily.=20 Eli Zaretskii writes: >> From: Ihor Radchenko >> Cc: mithraeum@protonmail.com, emacs-devel@gnu.org >> Date: Fri, 26 Oct 2018 15:36:53 +0800 >>=20 >> Maybe I miss something, but it is not trivial thing to do. > > Not in all cases, but certainly in some. > > How about asking Org developers to do something about these cases, > like not using the entire buffer as a literal string argument, to > avoid such problems? > --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEERZAHPFbUe3JemmzmZHB2Kn2hHYsFAlvSysYACgkQZHB2Kn2h HYt2FQgAsA2pfVqzOSELZSF7EJ5FRTSvEY4xDeoCgyxcy0iir60T2kcAmRvcNvsq vs2W/vwecN9Yf5wM9zGkn1yLa6l6+BEm+1yt7SE7LwY9bSEfyb35X4FnG0PpjlNA M94JFrjSd0WkMAUFlDsyEzn+XN3jTQy7ZpZQcdGt17DLRVVgIONCPCAk0TfKITu0 2KgRz6+A129RVFMfVz17LnhlxUgLZbOCwokk/4Il3i4Vu7pFnKdlkKK7PBvVQQhZ 2CFGgng+FSMO9o+VqwDDoath/7zVNWIeSn7qs0hbjiM+AOA89VaaabtLcLOgFSBa YjNvVPZaTXQL/sUTn1Jiwq+FJ3SC/A== =0KxQ -----END PGP SIGNATURE----- --=-=-=--