Hm, interesting. Would you be (or could you) read these parts of a file into 
memory? If so, I don't think you'd necessarily need to make any changes to 
supersnappy. I only see streams helping in the specific case that you can't fit 
something into memory.

It sounds like you could read a part of a file into memory, then 
compress/uncompress that part and write it out using a stream at the file 
system level (FileStream or similar). I'm not sure what you're trying to do 
though so I may be totally misunderstanding.

I am open to patches of course but I do have opinions on what I'd want to 
maintain long term. In my head I like the idea of having an entire-in-memory 
API (already have it) and adding stream support with a stream-in stream-out API 
to work in memory-constrained scenarios.

Reply via email to