monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] stats line length


From: Timothy Brownawell
Subject: Re: [Monotone-devel] stats line length
Date: Wed, 12 Apr 2006 06:57:18 -0500

On Wed, 2006-04-12 at 04:08 -0700, Nathaniel Smith wrote:
> On Wed, Apr 12, 2006 at 12:07:23PM +0200, Richard Levitte - VMS Whacker wrote:
> > a. you mean like making all fields have a fixed minimum size?  Doable,
> >    but what size is the right minimum?
> 
> We could just give a hint when we create the ticker, how wide it is
> likely to get... it's hackish, sure, but most of these fields are
> pretty consistent in the range they're likely to hit, so I bet you
> could get 90% of the benefit with something simple like that.
> 
> Another thing that might help would be, e.g., whenever the column
> width needs to go up, increasing it by more than the minimum
> necessary, in the hopes of avoiding future increases.

It used to just set the width to how wide it would get before switching
to the next higher suffix (so, wide enough for "1014.8k"). This wouldn't
work very well for tickers that are given a maximum count, but those can
just use that to figure out how wide they need to be.

Tim






reply via email to

[Prev in Thread] Current Thread [Next in Thread]