diff --git a/exa/exa_glyphs.c b/exa/exa_glyphs.c index 851e43917..27ecd4a42 100644 --- a/exa/exa_glyphs.c +++ b/exa/exa_glyphs.c @@ -260,11 +260,9 @@ exaGlyphCacheHashLookup(ExaGlyphCachePtr cache, return -1; if (memcmp(pGlyph->sha1, cache->glyphs[entryPos].sha1, sizeof(pGlyph->sha1)) == 0){ - DBG_GLYPH_CACHE((" found entry at %d\n", slot)); return entryPos; } - DBG_GLYPH_CACHE((" lookup linear probe bumpalong\n")); slot--; if (slot < 0) slot = cache->hashSize - 1; @@ -284,7 +282,6 @@ exaGlyphCacheHashInsert(ExaGlyphCachePtr cache, while (TRUE) { /* hash table can never be full */ if (cache->hashEntries[slot] == -1) { - DBG_GLYPH_CACHE((" inserting entry at %d\n", slot)); cache->hashEntries[slot] = pos; return; } diff --git a/exa/exa_priv.h b/exa/exa_priv.h index 8a17f6590..f3b72ae66 100644 --- a/exa/exa_priv.h +++ b/exa/exa_priv.h @@ -61,7 +61,7 @@ #define DEBUG_MIGRATE 0 #define DEBUG_PIXMAP 0 #define DEBUG_OFFSCREEN 0 -#define DEBUG_GLYPH_CACHE 1 +#define DEBUG_GLYPH_CACHE 0 #if DEBUG_TRACE_FALL #define EXA_FALLBACK(x) \