On Tue, Dec 10, 2002 at 10:59:03PM +0200, Dekel Tsur wrote:
> On Tue, Dec 10, 2002 at 08:00:03PM +0000, John Levon wrote:
> > > 
> > > "short" makes me go: "Hu! Why? Anything special going on here?"
> > 
> > why not save some memory ?
> 
> The saving is negligible (compared to the memory already used by the map, and
> the memory used to hold the font).

I'd even doubt there is any saving at all...

> PS: A possible optimization is to hold in addition to the map
> an array that stores the widths for the unicode chars 32-127 (the most
> common chars).

Maybe one can restrict the cache to these chars....

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)

Reply via email to