commit: optimisation

From: Jordi Mas (jmas@softcatala.org)
Date: Mon Apr 21 2003 - 19:08:11 EDT

  • Next message: printf scanf: "Re: Set LANG for windows environment"

    The function getDeviceResolution is called hundred of times per second and we
    were make an unnecessary API call everytime since this value cannot be change
    during runtime, you have to reboot the machine. It's cached now. My profiler
    shows better perfomance.

    CVS: ----------------------------------------------------------------------
    CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
    CVS:
    CVS: Committing in .
    CVS:
    CVS: Modified Files:
    CVS: src/af/gr/win/gr_Win32Graphics.cpp
    CVS: src/af/gr/win/gr_Win32Graphics.h
    CVS: ----------------------------------------------------------------------

    -- 
    

    Jordi Mas i Hernāndez - Abiword developer - http://www.abisource.com jmas@softcatala.org - Softcatalā member - http://www.softcatala.org - Personal Homepage http://www.softcatala.org/~jmas



    This archive was generated by hypermail 2.1.4 : Mon Apr 21 2003 - 19:19:27 EDT