On Tue, Dec 10, 2002 at 12:41:26AM +0000, John Levon wrote:

> Well I'm out of ideas so here's a dumb patch that caches single widths.

btw, a map<pair, int> based approach is at least twice as slower than
the vector one below

> resize took 1.64121 seconds
> resize took 1.18429 seconds
> resize took 1.3532 seconds
> resize took 1.16759 seconds
> resize took 1.1749 seconds

I've cut some more off this.

> I still need to hook this  into the font-invalidate stuff, but it's

I've done that too and tested it

Unless somebody has major complaints I'm going to commit it ...

regards
john

Reply via email to