<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/proc_macro/src/bridge/buffer.rs, branch 1.78.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.78.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.78.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2022-05-31T23:21:35+00:00</updated>
<entry>
<title>Inline `bridge::Buffer` methods.</title>
<updated>2022-05-31T23:21:35+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2022-05-31T23:21:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dee353da1d93d32f041ad3d5e49d407b53767158'/>
<id>urn:sha1:dee353da1d93d32f041ad3d5e49d407b53767158</id>
<content type='text'>
This fixes a performance regression caused by making `Buffer`
non-generic in #97004.
</content>
</entry>
<entry>
<title>Make `Buffer&lt;T&gt;` non-generic.</title>
<updated>2022-05-27T05:58:35+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2022-05-12T23:38:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2ece157e179e8613e8cfc3654acb3d32b62ed841'/>
<id>urn:sha1:2ece157e179e8613e8cfc3654acb3d32b62ed841</id>
<content type='text'>
`u8` is the only type that makes sense for `T`, as demonstrated by the
fact that several impls and functions are hardwired to `Buffer&lt;u8&gt;`.
</content>
</entry>
<entry>
<title>proc_macro/bridge: Remove dead code Slice type</title>
<updated>2021-07-01T17:20:57+00:00</updated>
<author>
<name>Jade</name>
<email>software@lfcode.ca</email>
</author>
<published>2021-07-01T17:20:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0b3fedc8df1c102a9a7ea7b345e8105e91676f93'/>
<id>urn:sha1:0b3fedc8df1c102a9a7ea7b345e8105e91676f93</id>
<content type='text'>
See https://github.com/rust-lang/rust/pull/85390#discussion_r662464868
</content>
</entry>
<entry>
<title>Write primitive types via array buffers</title>
<updated>2021-05-29T16:52:06+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2021-05-16T01:39:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8c2080886fa46434e097c503d3d1ee9309eadc7d'/>
<id>urn:sha1:8c2080886fa46434e097c503d3d1ee9309eadc7d</id>
<content type='text'>
This allows a more efficient implementation (avoiding a fallback to memmove,
which is not optimal for short writes).

This saves 0.29% on diesel.
</content>
</entry>
<entry>
<title>Switch to reserve over extend_from_slice</title>
<updated>2021-05-29T16:45:07+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2021-05-15T23:49:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=92b2894d313b5d514d077bf65560df29cda35d13'/>
<id>urn:sha1:92b2894d313b5d514d077bf65560df29cda35d13</id>
<content type='text'>
This is a 0.15% win on diesel.
</content>
</entry>
<entry>
<title>Specialize single-element writes to buffer</title>
<updated>2021-05-29T16:45:07+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2021-05-15T22:54:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=299ac7589410a4e9541d0483161abb9e455e0ec1'/>
<id>urn:sha1:299ac7589410a4e9541d0483161abb9e455e0ec1</id>
<content type='text'>
copy_from_slice generally falls back to memcpy/memmove, which is much more expensive
than we need to write a single element in.

This saves 0.26% instructions on the diesel benchmark.
</content>
</entry>
<entry>
<title>mv std libs to library/</title>
<updated>2020-07-28T00:51:13+00:00</updated>
<author>
<name>mark</name>
<email>markm@cs.wisc.edu</email>
</author>
<published>2020-06-12T02:31:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2c31b45ae878b821975c4ebd94cc1e49f6073fd0'/>
<id>urn:sha1:2c31b45ae878b821975c4ebd94cc1e49f6073fd0</id>
<content type='text'>
</content>
</entry>
</feed>
