Hello,

Achim Gratz <strom...@nexgo.de> 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… 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,

-- 
Nicolas Goaziou

Reply via email to