Class FastWriteOnlyOutputStream

java.lang.Object
java.io.OutputStream
io.github.ai4ci.util.FastWriteOnlyOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

@Deprecated public class FastWriteOnlyOutputStream extends OutputStream
Deprecated.
Work in progress. This tends to cause crashes and I think has got a memory leak somewhere. Its supposed to be a single thread drop in replacement for a BufferedOutput stream that uses java.nio which is supposed to be faster. The only funky thing it is doing is chunking writes to be whole block sizes, before writing. There appears to be an upper limit on allocating byte buffers in a sensible amoutn of time. Large buffers are very slow to allocate.