From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [ox-html] bug in documentation of org-html-table-row-tags Date: Wed, 10 Apr 2013 19:04:14 +0200 Message-ID: <87obdm48s1.fsf@gmail.com> References: <87bo9q2fvp.fsf@bzg.ath.cx> <984AC132-774A-4B3A-B8A5-7450C71909F0@nf.mpg.de> <874nfghqpy.fsf@bzg.ath.cx> <87ppy3ah30.fsf@gmail.com> <87y5cripx0.fsf@Rainer.invalid> <87eheja0o1.fsf@gmail.com> <87txnewdl4.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33829) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPyRY-0003NP-QV for emacs-orgmode@gnu.org; Wed, 10 Apr 2013 13:04:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPyRX-0007CM-Fk for emacs-orgmode@gnu.org; Wed, 10 Apr 2013 13:04:20 -0400 Received: from mail-wi0-x235.google.com ([2a00:1450:400c:c05::235]:53776) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPyRX-0007CG-9L for emacs-orgmode@gnu.org; Wed, 10 Apr 2013 13:04:19 -0400 Received: by mail-wi0-f181.google.com with SMTP id hj8so706109wib.14 for ; Wed, 10 Apr 2013 10:04:18 -0700 (PDT) In-Reply-To: <87txnewdl4.fsf@Rainer.invalid> (Achim Gratz's message of "Wed, 10 Apr 2013 18:32:55 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Achim Gratz Cc: emacs-orgmode@gnu.org Hello, Achim Gratz writes: > Nicolas Goaziou writes: >>> Sorry, but using this has quadratic complexity with the number of >>> rows... >> >> That's true. But that doesn't matter unless you plan to export thousand >> row tables. Anyway, patches welcome. > > I've been thinking about this=E2=80=A6 the way I currently see it is that= the > row-number should be a property of the table-row, just like the > rwo-group is. The row-group isn't a property of the table-row. It is computed in `org-export-table-row-group'. A simple optimization would be to memoize row numbers. But, as I stated earlier, this is not the bottleneck here. Huge tables are not, IMO, common enough to justify this. Regards, --=20 Nicolas Goaziou