pdf-devel
[Top][All Lists]
Advanced

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

Re: [pdf-devel] Patch for the Flate filter


From: jemarch
Subject: Re: [pdf-devel] Patch for the Flate filter
Date: Thu, 02 Oct 2008 23:26:36 +0200
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

    >    + /* 
    >    +  * As read in the zlib documentation, our cache size must be at 
least 0.1%
    >    +  * larger than the CHUNK size, plus 12 bytes.
    >    +  * We assume that our cache size is of 4096 bytes.
    >    +  */
    >    +#define PDF_STM_F_FLATE_CHUNK 1024
    > 
    > What would happen if the user set a cache size of, say, 100 bytes? It
    > is possible to set the chunk size dinamically?

   Actually, I've detected some flaws about this on the code, so I'll
   fix it and send the patch again :-)

Many thanks Gerel.
The new semantics of the apply function and the finalization will
hopefully simplify the writing of the filter implementations. Just
tell me if you have any problem.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]