Going to write the profiler, this will be important to have because it will mean that I will be able to find all the slow code and such. I could actually use it to profile and optimize the code and find the slow spots. I cannot really use VisualVM on SpringCoat itself because it is a VM and nothing runs in the host, but I can generate VisualVM snapshots.
I need to commonize the compression algorithm code away from the ZIP code and instead put it in the IO code.
Think I should normalize errors since things have been moved around.
I am going to need to write a compression algorithm but it should not be too bad and such. I can write a rather poor one that just gets it done then improve it later on in the future. Only thing that would probably be fun to mess with is the sliding window. I do want it to be fast but the best compression is not always the best.
Looking through a PDF of the Encyclopedia Britannica and it is 1100 pages long so that will be fun. Doing binary search through it.
This is a really long description of Squirrel but it will work.
Took awhile to write, but it will be a nice set of sample text to test compression and such on.
Going to make the zip writer not thread safe.
This is odd, I am using the same stream writing code but it fails because it says the previous entry has not been closed. There has been no previous entry at all it seems in a group.
So my ZIP code is broken if I change the compression type and I have no idea why.
Okay the real manifest is written first.
I am pretty sure it is not working because I am actually using a stream that handles compression and it might not be the wrapped stream. Need to see how this works. Oh yeah, just thought about it. The deflation stream does not call close in its close.