[pango: 2/2] Increase FONTSET_CACHE_SIZE from 64 to 256



commit e3cff8e0bb2926b2db1687182fab587ade7b64ee
Author: Behdad Esfahbod <behdad behdad org>
Date:   Wed Mar 4 14:16:25 2009 +0330

    Increase FONTSET_CACHE_SIZE from 64 to 256
    
    Now that we keep a lot fewer objects per fontset, increase the cache size.
---
 pango/pangofc-fontmap.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pango/pangofc-fontmap.c b/pango/pangofc-fontmap.c
index dda54f9..07328b6 100644
--- a/pango/pangofc-fontmap.c
+++ b/pango/pangofc-fontmap.c
@@ -19,7 +19,7 @@
  * Boston, MA 02111-1307, USA.
  */
 
-#define FONTSET_CACHE_SIZE 64
+#define FONTSET_CACHE_SIZE 256
 
 #include "config.h"
 #include <math.h>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]