Double the buffer size each time it needs to grow instead of incrementing it by a small value. This fixes a lot of performance issues when loading images.
Double the buffer size each time it needs to grow instead of incrementing it by a small value. This fixes a lot of performance issues when loading images.

darcs-hash:20080814163456-f546f-bb524a21b395380f126253a12e63bfb1544fa486.gz

nqv/mupdf,nqv/mupdf,nqv/mupdf,nqv/mupdf,nqv/mupdf,nqv/mupdf