Quoting David Teran <[EMAIL PROTECTED]>:

> would it be ok if we profile itext a little bit more? maybe we can 
> improve speed or decrease memory footprint (and this time without 
> sending such buggy code as we did before ;-)

As I allready said: well argumented changes can always
be considered for addition in the next release.

As you may have noticed, LONG_CACHE_SIZE has been replace
by the non final static byteCacheSize.
The initial value is 0, but you can use setCacheSize to
augment the value (max 3276700). You can also fill the
cache with fillCache.

Can you do two things for me?
1. look if it makes sense to fill the cache in advance.
   (for instance generate a large number of PDF files in
   the same JVM, once with byteCacheSize == 0 and once
   with byteCacheSize != 0)
2. take a look at the private method convertToBytes.
   Is it more performant than the way you convert
   ints to bytes or less performant?

kind regards,
Bruno

_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to