From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Concurrency, again Date: Tue, 18 Oct 2016 18:36:38 +0300 Message-ID: <83d1ixwtx5.fsf@gnu.org> References: <87wq97i78i.fsf@earlgrey.lan> <83mvi9a3mh.fsf@gnu.org> <20161012165911.58437154@jabberwock.cb.piermont.com> <20161012173314.799d1dc5@jabberwock.cb.piermont.com> <8360owaj2s.fsf@gnu.org> <20161013092701.77461800@jabberwock.cb.piermont.com> <20161017105345.2f255760@jabberwock.cb.piermont.com> <83y41nx8l6.fsf@gnu.org> <20161017123459.5ded9408@jabberwock.cb.piermont.com> <83twcayku6.fsf@gnu.org> <20161017135353.533db169@jabberwock.cb.piermont.com> <87wph6cp5i.fsf@jupiter.lan> <83h989wvpe.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1476805424 9578 195.159.176.226 (18 Oct 2016 15:43:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 18 Oct 2016 15:43:44 +0000 (UTC) Cc: stefan.huchler@mail.de, emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 18 17:43:37 2016 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 1bwWXY-0005CT-3l for ged-emacs-devel@m.gmane.org; Tue, 18 Oct 2016 17:42:56 +0200 Original-Received: from localhost ([::1]:42333 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwWXa-0000i3-8J for ged-emacs-devel@m.gmane.org; Tue, 18 Oct 2016 11:42:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37851) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwWRn-0005Ab-Mc for emacs-devel@gnu.org; Tue, 18 Oct 2016 11:37:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwWRj-0005kF-WB for emacs-devel@gnu.org; Tue, 18 Oct 2016 11:36:59 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36958) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwWRj-0005kA-Td; Tue, 18 Oct 2016 11:36:55 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1263 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bwWRj-0001DO-1v; Tue, 18 Oct 2016 11:36:55 -0400 In-reply-to: (message from Lars Ingebrigtsen on Tue, 18 Oct 2016 17:05:41 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:208430 Archived-At: > From: Lars Ingebrigtsen > Cc: stefan.huchler@mail.de, emacs-devel@gnu.org > Date: Tue, 18 Oct 2016 17:05:41 +0200 > > Eli Zaretskii writes: > > > It could start by only doing layout of the visible portion, and doing > > the rest from an idle timer. Or does it already do that? > > That doesn't work when trying to figure out how to lay out a deeply > nested multi-columnar layout. In that case, no, so you cannot win there. But in other cases, yes. So this will allow faster display of at least some pages, I think. An in any case, you can stop when you reach the end of the current top-level element that is beyond the visible portion. > And the current implementation sucks: It basically combinatorally tries > all possibilities to find the best layout. There are probably shortcuts > that can be taken, but any I've tried makes common table-based layouts > awful. That's unrelated to the issue at hand, I think. Algorithmic improvements should be done regardless.