rust/compiler/rustc_serialize/src
Nicholas Nethercote f2df861c7f Fix the FileEncoder buffer size.
It allows a variable size, but in practice we always use the default of
8192 bytes. This commit fixes it to that size, which makes things
slightly faster because the size can be hard-wired in generated code.

The commit also:
- Rearranges some buffer capacity checks so they're all in the same form
  (`x > BUFSIZE`).
- Removes some buffer capacity assertions and comments about them. With
  an 8192 byte buffer, we're not in any danger of overflowing a `usize`.
2023-05-15 08:59:11 +10:00
..
collection_impls.rs
leb128.rs Rewrite MemDecoder around pointers not a slice 2023-04-23 17:25:11 -04:00
lib.rs Rewrite MemDecoder around pointers not a slice 2023-04-23 17:25:11 -04:00
opaque.rs Fix the FileEncoder buffer size. 2023-05-15 08:59:11 +10:00
serialize.rs Reorder some MemDecoder methods. 2023-05-04 13:11:51 +10:00