summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2004-11-25 07:51:13 +0100
committerTor Andersson <tor@ghostscript.com>2004-11-25 07:51:13 +0100
commita93da46ada76df7aa4559826e63ab1ac02bed4b3 (patch)
tree2b02ef32c62e05c1aa2e77593ab47057c3a74305 /render
parent6796693d6b7db5933aaf5c6a33793abbfd3dd93c (diff)
downloadmupdf-a93da46ada76df7aa4559826e63ab1ac02bed4b3.tar.xz
handle inline resources
Diffstat (limited to 'render')
-rw-r--r--render/glyphcache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/render/glyphcache.c b/render/glyphcache.c
index 517a67ef..57b2ce84 100644
--- a/render/glyphcache.c
+++ b/render/glyphcache.c
@@ -215,15 +215,14 @@ hashremove(fz_glyphcache *arena, fz_key *key)
void
fz_debugglyphcache(fz_glyphcache *arena)
{
- int i;
-
printf("cache load %d / %d (%d / %d bytes)\n",
arena->load, arena->slots, arena->used, arena->size);
printf("no-colliders: %d colliders: %d\n", hokay, hcoll);
printf("avg dist: %d / %d: %g\n", hdist, hcoll, (double)hdist / hcoll);
printf("out-of-space evicts: %d\n", coos);
printf("out-of-hash evicts: %d\n", covf);
-
+/*
+ int i;
for (i = 0; i < arena->slots; i++)
{
if (!arena->hash[i].val)
@@ -246,6 +245,7 @@ fz_debugglyphcache(fz_glyphcache *arena)
for (i = 0; i < arena->load; i++)
printf("lru %04d: glyph %d (%d)\n", i,
arena->lru[i].ent - arena->hash, arena->lru[i].uses);
+*/
}
static void