Skip to content

Commit

Permalink
metadata: Avoid the use of raw wr_str or write_all.
Browse files Browse the repository at this point in the history
They are, with a conjunction of `start_tag` and `end_tag`, commonly
used to write a document with a binary data of known size. However
the use of `start_tag` makes the length always 4 bytes long, which
is almost not optimal (requiring the relaxation step to remedy).
Directly using `wr_tagged_*` methods is better for both readability
and resulting metadata size.
  • Loading branch information
lifthrasiir committed Mar 3, 2015
1 parent b4c965e commit ac20ded
Showing 1 changed file with 70 additions and 151 deletions.

0 comments on commit ac20ded

Please sign in to comment.