| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-03-25 | Allow for reading raw bytes from rustc_serialize::Decoder without unsafe code. | Michael Woerister | -35/+18 | |
| 2021-03-24 | Revert "Revert stabilizing integer::BITS." | Mara Bos | -1/+0 | |
| 2021-03-19 | Move raw bytes handling to Encoder/Decoder. | Camille GILLOT | -44/+70 | |
| 2021-03-18 | Simplify IntEncodedWithFixedSize. | Camille GILLOT | -13/+7 | |
| 2021-03-18 | Move IntEncodedWithFixedSize to rustc_serialize. | Camille GILLOT | -0/+48 | |
| 2021-02-20 | Update the bootstrap compiler | Joshua Nelson | -1/+0 | |
| Note this does not change `core::derive` since it was merged after the beta bump. | ||||
| 2021-02-03 | Revert stabilizing integer::BITS. | Mara Bos | -0/+1 | |
| 2021-01-31 | stabilize int_bits_const | Ashley Mannix | -1/+0 | |
| 2021-01-11 | rustc_serialize: fix incorrect signed LEB128 decoding | Tyson Nottingham | -42/+45 | |
| The signed LEB128 decoding function used a hardcoded constant of 64 instead of the number of bits in the type of integer being decoded, which resulted in incorrect results for some inputs. Fix this, make the decoding more consistent with the unsigned version, and increase the LEB128 encoding and decoding test coverage. | ||||
| 2021-01-11 | Serialize incr comp structures to file via fixed-size buffer | Tyson Nottingham | -54/+460 | |
| Reduce a large memory spike that happens during serialization by writing the incr comp structures to file by way of a fixed-size buffer, rather than an unbounded vector. Effort was made to keep the instruction count close to that of the previous implementation. However, buffered writing to a file inherently has more overhead than writing to a vector, because each write may result in a handleable error. To reduce this overhead, arrangements are made so that each LEB128-encoded integer can be written to the buffer with only one capacity and error check. Higher-level optimizations in which entire composite structures can be written with one capacity and error check are possible, but would require much more work. The performance is mostly on par with the previous implementation, with small to moderate instruction count regressions. The memory reduction is significant, however, so it seems like a worth-while trade-off. | ||||
| 2021-01-01 | rustc_serialize: specialize opaque decoding of some u8 sequences | Tyson Nottingham | -26/+33 | |
| 2021-01-01 | rustc_serialize: have read_raw_bytes take MaybeUninit<u8> slice | Tyson Nottingham | -3/+13 | |
| 2021-01-01 | rustc_serialize: specialize opaque encoding of some u8 sequences | Tyson Nottingham | -19/+20 | |
| 2020-12-26 | stabilize min_const_generics | Bastian Kauschke | -1/+1 | |
| 2020-12-03 | Fix some clippy lints | Joshua Nelson | -1/+1 | |
| 2020-10-13 | Replace absolute paths with relative ones | est31 | -3/+3 | |
| Modern compilers allow reaching external crates like std or core via relative paths in modules outside of lib.rs and main.rs. | ||||
| 2020-09-26 | Deduplicate and generalize some (de/)serializer impls | Oliver Scherer | -23/+12 | |
| 2020-09-23 | /nightly/nightly-rustc | Erik Hofmayer | -1/+1 | |
| 2020-09-23 | Updated html_root_url for compiler crates | Erik Hofmayer | -1/+1 | |
| 2020-08-30 | mv compiler to compiler/ | mark | -0/+4499 | |
