…ry and collect stats, as well as an example (trivial_codec.py) showing how it should interpret its input and format its output.
Refactored the main driver (headers_sample.py) so that it is far easier to introduce one's own codec (and to eventually allow for non-python codecs)
Modified index.html so that it points to the HTML formatted spec
…s, clarified options/tradeoffs (and made controls for playing with them more easy to discover).
It is better enough to be checked in, however.
I don't want to lose the work.. it should start working in the next couple of days at most.
Implemented most (if not all) of the new serializer. It is not as efficient as it will be since the compressor part hasn't yet been modified to deal with implicit indices and the lack of 'rem' instructions. Modified the harfile library to use a real JSON parser (much more safe, just in case someone is malicious).
…rything. Modified the serializer to allow for either bit or byte-aligned stuff. (the difference in compression and speed is suprisingly small) Modified the SPDY3 serializer and SPDY4 serializer in spdy4_header_sample to move the buffer allocation outside the main loop.
Thusfar, the results are encouraging. Using the window size used by Chrome, the SPDY4 compressor has equivalent compression with 1/3rd the CPU cost.
…tween SPDY3 and SPDY4's cost/benefits
… in the future (especially for GLIBXX iterators). Additional comments to remind myself how to structure the decoder to do things safely. Some small changes to improve speed by eliminiating a number of allocations from one iteration to the next. Added ERef code, and set ":path" to use it-- this is a simple heuristic that will keep more of the compression context useful, as path is usually not reused. This should be revisited in the future.
More modifications are necessary to ensure that we're doing something reasonable, this is an intermediate step.
…llow for quicker prototyping of new serializations.
…ude debugging output. A small fix for having ignored the retval from the pipe() command.