From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#29279: Sharing the margins Date: Mon, 13 Nov 2017 21:33:08 +0200 Message-ID: <39c4661e-f7cb-7979-7025-e529d86883ed@yandex.ru> References: <0a54e927-cab1-1f1d-4996-85bb36949a33@yandex.ru> <834lpymbga.fsf@gnu.org> <83po8mkptj.fsf@gnu.org> <56131da6-14fb-d669-f69a-72fd2e696d5c@yandex.ru> <83ineekmpi.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1510602098 12994 195.159.176.226 (13 Nov 2017 19:41:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 13 Nov 2017 19:41:38 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Thunderbird/56.0 Cc: 29279@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 13 20:41:33 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1eEKbq-0002vE-FG for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 Nov 2017 20:41:30 +0100 Original-Received: from localhost ([::1]:56096 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eEKbx-0000xT-Ry for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 Nov 2017 14:41:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46077) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eEKUh-0003Y2-Am for bug-gnu-emacs@gnu.org; Mon, 13 Nov 2017 14:34:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eEKUc-0003tW-FC for bug-gnu-emacs@gnu.org; Mon, 13 Nov 2017 14:34:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58446) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eEKUc-0003rl-CN for bug-gnu-emacs@gnu.org; Mon, 13 Nov 2017 14:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eEKUb-0005r2-OY for bug-gnu-emacs@gnu.org; Mon, 13 Nov 2017 14:34:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Nov 2017 19:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29279 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29279-submit@debbugs.gnu.org id=B29279.151060159822446 (code B ref 29279); Mon, 13 Nov 2017 19:34:01 +0000 Original-Received: (at 29279) by debbugs.gnu.org; 13 Nov 2017 19:33:18 +0000 Original-Received: from localhost ([127.0.0.1]:38894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEKTt-0005py-TH for submit@debbugs.gnu.org; Mon, 13 Nov 2017 14:33:18 -0500 Original-Received: from mail-wm0-f54.google.com ([74.125.82.54]:38881) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEKTs-0005pm-Ut for 29279@debbugs.gnu.org; Mon, 13 Nov 2017 14:33:17 -0500 Original-Received: by mail-wm0-f54.google.com with SMTP id z3so7278840wme.3 for <29279@debbugs.gnu.org>; Mon, 13 Nov 2017 11:33:16 -0800 (PST) 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=GgyRXxie08WoN9YBDrgMIFKak+qKUIUpWzrj3K3vupA=; b=pfsnjiHVyCmtgczxIUGuA2wnevsZRCpFHRSgJWzTI+Kf507l6ti/KzrzZy9+G9nStp z3Cy9wFdSlugsGV3jawjXXYfzhwtI6ef/hmMoVZef4f5eCAHI6Cp1zF1qjo/YYC7/FE1 +NbExOSTMTZiBN2HOtUVNQrAq14twSnHma3YXUZSk7vgQ4wFliyhCohnCFBLP1Bt06ry NCB68iGvSght2LSrdDMuS0zQl8xQiUbMt9s/i1O4EH66j3z0StontoRvN/N066iMwhzC XZPYsfD2zANhJthQQxg2vJgWRcvpwNbTdjvGH0Kn6LSEKJX22z58y8Iher5p32srWOwD eFIQ== 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=GgyRXxie08WoN9YBDrgMIFKak+qKUIUpWzrj3K3vupA=; b=m2T/K0sRXA8DuyvTSMUeT3gzApc+AJXernNWcifSnFnToTleBglciqXCiC+q1XC45A EDTUe38lXe/fe3litelXGGa6XxovSOYGOD/r3QBo5gSAjoysUNZHwm+y2h2xMxxzez9p S2mJNVvrEF+wM+En428PvBienExIlyGOd70A6KtkdAodE/GQfKXRa31skeXbAJvCcykF UiOepv2S6CmyVLQ5luQNsq1YYdb3b5zTS00h5ZQ+kkeey60D9oRIy47U5oobCD6jMFXs cxxu+yAwhhuJf1axSdiL1tYLvHYrhyJDAbXEK/AU3ivd+EJUG+H90E9btoyRLiQhoW3H 2XQA== X-Gm-Message-State: AJaThX6pgQYJ8b6wnWRsV5DFZfxarQ1CtNjUrOqjacNzzclEE4A0/f5D tqaSQtgXMsHSFlRCXkgpzL4tMlOU X-Google-Smtp-Source: AGs4zMade+o/6XAbuy8mycMbI/AxhnItXl9XHibP4bGYEpSgE6SiMUpecWcwcYt10DK1bOtQkIHW9A== X-Received: by 10.80.135.226 with SMTP id 31mr14444676edz.210.1510601590857; Mon, 13 Nov 2017 11:33:10 -0800 (PST) Original-Received: from [192.168.1.3] ([185.105.174.193]) by smtp.googlemail.com with ESMTPSA id r8sm996120edm.22.2017.11.13.11.33.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Nov 2017 11:33:10 -0800 (PST) In-Reply-To: <83ineekmpi.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: 208.118.235.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:139851 Archived-At: On 11/13/17 9:22 PM, Eli Zaretskii wrote: >> Still, it seems unnecessary if the somewhat faster C code could >> implement that for every user. > > We could add that later if needed. It's not rocket science, it's just > more complexity. Yup. >>> posn-at-point goes _once_ from window-start to the specified position, >>> so on average it traverses half a window, once. By contrast, we are >>> now talking about redisplaying the window twice, and one of these 2 >>> times must traverse the entire window. So we are talking about >>> threefold slow-down on the average. >> >> 3-fold slowdown from 500 FPS seems acceptable to me. > > For each redisplay cycle? On top of disabling most redisplay > optimizations? I doubt that. Hard for me to tell. Like, in the recent discussion of a performance problem related to double-buffering, apparently Emacs itself wasn't the rendering bottleneck. You probably know better, though.