Subject | Re: [Firebird-Java] Possible memory leak in EncodingFactory ? |
---|---|
Author | Roman Rokytskyy |
Post date | 2006-06-06T20:05:53Z |
> The buffers bufferB and bufferC are not used to store intermediateI will apply these changes to the CVS and test it with our AS3AP benchmark.
> results. They are used as a work space for the encoding.
> In a previous post I suggested that bufferB be removed and the new
> result array be used as the working space, and bufferC be allocated off
> of the stack.
> Getting rid of these instance variables makes the class follow the
> flyweight pattern, so caching becomes a possibility (if testing supports
> it).
Thanks!
Roman