<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/io/buffered/bufwriter.rs, branch try-perf</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try-perf</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try-perf'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-08-26T06:36:53+00:00</updated>
<entry>
<title>remove deprecated Error::description in impls</title>
<updated>2025-08-26T06:36:53+00:00</updated>
<author>
<name>Marijn Schouten</name>
<email>mhkbst@gmail.com</email>
</author>
<published>2025-08-23T19:36:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=845311a065a5638c516ed96c73b09862b176b329'/>
<id>urn:sha1:845311a065a5638c516ed96c73b09862b176b329</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: update internal uses of `io::const_error!`</title>
<updated>2024-11-26T17:38:24+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2024-11-25T12:49:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c14d137bfc5133f5a38fad2f58e30fed9c47ffe2'/>
<id>urn:sha1:c14d137bfc5133f5a38fad2f58e30fed9c47ffe2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Pre-allocate buffers in `File::open_buffered` and `create_buffered`</title>
<updated>2024-09-24T20:33:31+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2024-09-24T20:33:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1e9a50dde8fe417348a9e4c74787975527502ec3'/>
<id>urn:sha1:1e9a50dde8fe417348a9e4c74787975527502ec3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reformat using the new identifier sorting from rustfmt</title>
<updated>2024-09-22T23:11:29+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2024-09-22T23:05:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c682aa162b0d41e21cc6748f4fecfe01efb69d1f'/>
<id>urn:sha1:c682aa162b0d41e21cc6748f4fecfe01efb69d1f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reformat `use` declarations.</title>
<updated>2024-07-28T22:26:52+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-07-28T22:13:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=84ac80f1921afc243d71fd0caaa4f2838c294102'/>
<id>urn:sha1:84ac80f1921afc243d71fd0caaa4f2838c294102</id>
<content type='text'>
The previous commit updated `rustfmt.toml` appropriately. This commit is
the outcome of running `x fmt --all` with the new formatting options.
</content>
</entry>
<entry>
<title>std: Unsafe-wrap std::io</title>
<updated>2024-07-15T00:17:55+00:00</updated>
<author>
<name>Jubilee Young</name>
<email>workingjubilee@gmail.com</email>
</author>
<published>2024-07-15T00:14:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=df353a0cc3eaf66c496e07232ceb06a91fc10e67'/>
<id>urn:sha1:df353a0cc3eaf66c496e07232ceb06a91fc10e67</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use ManuallyDrop in BufWriter::into_parts</title>
<updated>2024-07-12T21:15:50+00:00</updated>
<author>
<name>Ben Kimock</name>
<email>kimockb@gmail.com</email>
</author>
<published>2024-07-12T17:49:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7fc69436a1226b254b3b6f9ed8c6d54965e0cfbf'/>
<id>urn:sha1:7fc69436a1226b254b3b6f9ed8c6d54965e0cfbf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix quadratic behavior of repeated vectored writes</title>
<updated>2024-03-03T13:32:36+00:00</updated>
<author>
<name>Jan Verbeek</name>
<email>jan.verbeek@posteo.nl</email>
</author>
<published>2024-03-03T11:57:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8212fc513c66ebd9996180456305ecd6c425d5da'/>
<id>urn:sha1:8212fc513c66ebd9996180456305ecd6c425d5da</id>
<content type='text'>
Some implementations of `Write::write_vectored` in the standard
library (`BufWriter`, `LineWriter`, `Stdout`, `Stderr`) check all
buffers to calculate the total length. This is O(n) over the number of
buffers.

It's common that only a limited number of buffers is written at a
time (e.g. 1024 for `writev(2)`). `write_vectored_all` will then call
`write_vectored` repeatedly, leading to a runtime of O(n²) over the
number of buffers.

The fix is to only calculate as much as needed if it's needed.
</content>
</entry>
<entry>
<title>Remove an old hack for rustdoc</title>
<updated>2024-02-19T18:16:27+00:00</updated>
<author>
<name>Pavel Grigorenko</name>
<email>grigorenkopv@ya.ru</email>
</author>
<published>2024-02-19T18:16:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ac1754beb86a9f9d5479089b64c042011d8f8d93'/>
<id>urn:sha1:ac1754beb86a9f9d5479089b64c042011d8f8d93</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use std::io::Error::is_interrupted everywhere</title>
<updated>2023-09-03T13:21:10+00:00</updated>
<author>
<name>Ben Kimock</name>
<email>kimockb@gmail.com</email>
</author>
<published>2023-09-02T23:50:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=642251b71f8395f7dd24e04c9d2b1716d3963112'/>
<id>urn:sha1:642251b71f8395f7dd24e04c9d2b1716d3963112</id>
<content type='text'>
</content>
</entry>
</feed>
