Skip to content

Commit

Permalink
Spec update: In V2, incremental Snappy is the new Snappy
Browse files Browse the repository at this point in the history
In other words, non-incremental Snappy compression is no longer valid
Sereal in protocol version 2.
  • Loading branch information
tsee committed Jun 25, 2013
1 parent 996260b commit b67440d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions sereal_spec.pod
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -75,14 +75,18 @@ Raw Sereal format. The data can be processed verbatim.


=item 1 =item 1


Compressed Sereal format, using Google's Snappy compression internally. B<This is not a valid document type for Sereal protocol version 2!>
Prefer I<2> wherever possible.
In Sereal protocol version 1, this used to be
"Compressed Sereal format, using Google's Snappy compression internally."
It has long been advised to prefer I<2>, "incremental-decoding-enabled
compressed Sereal," wherever possible.


=item 2 =item 2


Compressed Sereal format, using Google's Snappy compression internally as Compressed Sereal format, using Google's Snappy compression internally as
format I<1>, but supporting incremental-parsing. Preferred over I<1> as this format I<1>, but supporting incremental-parsing. Long preferred over
is considered a bug fix in the Snappy compression support. I<1> as this is considered a bug fix in the Snappy compression support.


The format is: The format is:


Expand Down

0 comments on commit b67440d

Please sign in to comment.