|
From: | Stefan Monnier |
Subject: | Re: tabulated-list: extend truncation into next align-right col |
Date: | Wed, 02 Nov 2016 08:27:54 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> + (min next-col-width > + (tabulated-list--near-cols-max-widths > + (1- (line-number-at-pos)) Hmm... this (line-number-at-pos) and the inverse `nth` inside tabulated-list--near-cols-max-widths are both O(N), and since we go through this loop N times, this gives us an O(N^2) complexity. Can't we just get "the next row" and "the previous row" more directly? Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |