more granular cache for tiny speed up

This commit is contained in:
John Cupitt 2013-03-01 10:29:01 +00:00
parent 8269a79801
commit ae27de5140

View File

@ -199,8 +199,8 @@ shrink_factor( IMAGE *in, IMAGE *out,
&tile_width, &tile_height, &nlines );
if( vips_tilecache( t[2], &s[0],
"tile_width", t[2]->Xsize,
"tile_height", 1,
"max_tiles", nlines * 2,
"tile_height", 10,
"max_tiles", (nlines * 2) / 10,
"strategy", VIPS_CACHE_SEQUENTIAL,
NULL ) ||
im_affinei_all( s[0], t[4],