On 2012-09-26 09:38, Mete Atamel wrote:
... I could fix this by changing the test to read the blob bytes in one shot and then do the comparison. However, I was wondering if we should also work on an optimization for successive reads from the blob with incremental offsets? Maybe we could keep the input stream of recently read blobs around for some time before closing them? ...
One use case is streaming content from the repository to a web client; that usually involves a loop reading from the repo and writing to the ServletOutputStream. This will need to work even for large binaries.
Best regards, Julian
