rust/compiler/rustc_serialize
The 8472 c640f31c9f avoid string validation in rustc_serialize, check a marker byte instead
since the serialization format isn't self-describing we need a way to detect
when encoder and decoder don't match up. but that doesn't have to
be utf8 validation for strings, which does cost a few % of performance.
Instead we can use a marker byte at the end to be reasonably
sure that we're dealing with a string and it wasn't overwritten in some
way.
2021-12-06 18:43:01 +01:00
..
src avoid string validation in rustc_serialize, check a marker byte instead 2021-12-06 18:43:01 +01:00
tests
Cargo.toml Migrate to 2021 2021-09-20 22:21:42 -04:00