diff options
| author | Kang Seonghoon <public+git@mearie.org> | 2015-03-01 15:09:58 +0900 |
|---|---|---|
| committer | Kang Seonghoon <public+git@mearie.org> | 2015-03-03 11:55:10 +0900 |
| commit | ac20ded1f8af6a35edf27059a6ee215d61666fef (patch) | |
| tree | c7f087dfb8a09d6eacdf04c32b68410cc3d5b5f4 /src/rustllvm/RustWrapper.cpp | |
| parent | b4c965ee803a4521d8b4575f634e036f93e408f3 (diff) | |
| download | rust-ac20ded1f8af6a35edf27059a6ee215d61666fef.tar.gz rust-ac20ded1f8af6a35edf27059a6ee215d61666fef.zip | |
metadata: Avoid the use of raw `wr_str` or `write_all`.
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.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
