Re: Performance enhaments for Abiword STABLE

From: Jordi Mas <jmas_at_softcatala.org>
Date: Thu Jun 07 2007 - 12:22:39 CEST

Hello Thomas,

> Just wondering if it would not make sense to actually cache it somewhere
> else so that the speed up would be for UT_getDefaultPrinterDC()
> function. The main problem with caching it is what happens when the user
> changes the default printer while AbiWord is running (not a huge deal,
> probably), or worse, uninstalls it. We also, we need to be careful not
> to delete the shared DC, probably some ref counting is needed here.

That is the way that I have finally implemented. I tested and it seems to work
ok. If you see any bug please tell me or irc or fell free to fix it.

Thanks,

-- 
Jordi Mas i HernĂ ndez, HomePage http://www.softcatala.org/~jmas/
Bloc personal http://www.softcatala.org/~jmas/bloc/
Planeta SoftcatalĂ : http://www.softcatala.org/planet/
Received on Thu Jun 7 12:21:52 2007

This archive was generated by hypermail 2.1.8 : Thu Jun 07 2007 - 12:21:52 CEST