Hello,
I profiled my application using callgrind and it seems it takes quite a while
to initialize the font cache in
PdfFontCache.cpp: 141 m_pFcConfig =
static_cast<void*>(FcInitLoadConfigAndFonts());
Isn't this variable constant throughout my application? I use allot of pdf
files and each constructor calls this init and it takes allot of my run-time.
Is it safe to make it static throughout run-time. Have the constructor take it
as a parameter and initialize it elsewhere?
Lucian
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users