Changes for version 7.008

  • Speed up small-varint decoding and arrays of untracked scalar values. Reduce temporary allocations and stack usage while preserving recursion limits, aliasing and readonly options.
  • Reuse Zstd decompression contexts on reusable decoders instead of allocating a context for each packet.
  • Preserve readonly and integer aliasing options when THAW callbacks reuse the decoder.
  • Avoid calling is_utf8_string() with zero-length inputs when validating empty UTF-8 strings and hash keys. Thanks to Steffen Mueller for these improvements and fixes.
  • Keep Zstd regression coverage active with older or absent Encoders by using stored packets for Decoder tests.

Documentation

Compare encoder traversal time and peak memory

Modules

Fast, compact, powerful binary deserialization
Getting the most out of the Perl-Sereal implementation

Provides

in lib/Sereal/Decoder/Constants.pm