<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/strbuf.rs, branch perf-tmp</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2014-05-25T04:48:10+00:00</updated>
<entry>
<title>core: rename strbuf::StrBuf to string::String</title>
<updated>2014-05-25T04:48:10+00:00</updated>
<author>
<name>Richo Healey</name>
<email>richo@psych0tik.net</email>
</author>
<published>2014-05-22T23:57:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=553074506ecd139eb961fb91eb33ad9fd0183acb'/>
<id>urn:sha1:553074506ecd139eb961fb91eb33ad9fd0183acb</id>
<content type='text'>
[breaking-change]
</content>
</entry>
<entry>
<title>libcore: Remove all uses of `~str` from `libcore`.</title>
<updated>2014-05-22T21:42:02+00:00</updated>
<author>
<name>Patrick Walton</name>
<email>pcwalton@mimiga.net</email>
</author>
<published>2014-05-20T06:19:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e878721d70349e2055f0ef854085de92e9498fde'/>
<id>urn:sha1:e878721d70349e2055f0ef854085de92e9498fde</id>
<content type='text'>
[breaking-change]
</content>
</entry>
<entry>
<title>libstd: Remove all uses of `~str` from `libstd`</title>
<updated>2014-05-22T21:42:02+00:00</updated>
<author>
<name>Patrick Walton</name>
<email>pcwalton@mimiga.net</email>
</author>
<published>2014-05-20T00:23:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5633d4641f7d63805e3c12c899f8401410bd825f'/>
<id>urn:sha1:5633d4641f7d63805e3c12c899f8401410bd825f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>libstd: Remove `~str` from all `libstd` modules except `fmt` and `str`.</title>
<updated>2014-05-22T21:42:01+00:00</updated>
<author>
<name>Patrick Walton</name>
<email>pcwalton@mimiga.net</email>
</author>
<published>2014-05-16T17:45:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=36195eb91f15975fed7555a3aa52807ecd5698a1'/>
<id>urn:sha1:36195eb91f15975fed7555a3aa52807ecd5698a1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change StrBuf::from_utf8() to return Result</title>
<updated>2014-05-15T00:35:55+00:00</updated>
<author>
<name>Kevin Ballard</name>
<email>kevin@sb.org</email>
</author>
<published>2014-05-14T23:55:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ba7844a7fff0061e5b4528c2ecd5adf765145b70'/>
<id>urn:sha1:ba7844a7fff0061e5b4528c2ecd5adf765145b70</id>
<content type='text'>
This allows the original vector to be recovered in the event that it is
not UTF-8.

[breaking-change]
</content>
</entry>
<entry>
<title>Added functions pop_char and shift_char to StrBuf struct along with appropriate unit tests, using the same test case as push_char.</title>
<updated>2014-05-13T10:01:12+00:00</updated>
<author>
<name>Dylan Braithwaite</name>
<email>mail@dylanb.me</email>
</author>
<published>2014-05-08T20:42:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1ca6b2cc664610dbbe9de07864d2016ead422460'/>
<id>urn:sha1:1ca6b2cc664610dbbe9de07864d2016ead422460</id>
<content type='text'>
Changed StrBuf.shift_byte() that it no longer reallocates the buffer by just calling Vec.shift();

Added warning to shift_char()'s docs about it having to copy the whole buffer, as per the docs for
Vec.shift().
</content>
</entry>
<entry>
<title>auto merge of #14110 : SSheldon/rust/strbuf_mutable, r=alexcrichton</title>
<updated>2014-05-11T23:21:44+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2014-05-11T23:21:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b40c3e9d3dd0a6be4d048389d33435f82205d376'/>
<id>urn:sha1:b40c3e9d3dd0a6be4d048389d33435f82205d376</id>
<content type='text'>
Despite implementing the Container trait, StrBuf did not implement the Mutable trait and had no clear method; this request implements the clear method of the Mutable trait for StrBuf.

Testing done: added a test and ran `make check` without any failures.
</content>
</entry>
<entry>
<title>Implement Mutable trait for StrBuf.</title>
<updated>2014-05-11T10:49:09+00:00</updated>
<author>
<name>Steven Sheldon</name>
<email>steven@sasheldon.com</email>
</author>
<published>2014-05-11T10:49:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a40b971aaf64f9ba189ac07eebf1890d995ae2dc'/>
<id>urn:sha1:a40b971aaf64f9ba189ac07eebf1890d995ae2dc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>core: Remove the cast module</title>
<updated>2014-05-11T08:13:02+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-05-09T17:34:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f94d671bfae5d8e9a4a4add310b1c40af0ab62a6'/>
<id>urn:sha1:f94d671bfae5d8e9a4a4add310b1c40af0ab62a6</id>
<content type='text'>
This commit revisits the `cast` module in libcore and libstd, and scrutinizes
all functions inside of it. The result was to remove the `cast` module entirely,
folding all functionality into the `mem` module. Specifically, this is the fate
of each function in the `cast` module.

* transmute - This function was moved to `mem`, but it is now marked as
              #[unstable]. This is due to planned changes to the `transmute`
              function and how it can be invoked (see the #[unstable] comment).
              For more information, see RFC 5 and #12898

* transmute_copy - This function was moved to `mem`, with clarification that is
                   is not an error to invoke it with T/U that are different
                   sizes, but rather that it is strongly discouraged. This
                   function is now #[stable]

* forget - This function was moved to `mem` and marked #[stable]

* bump_box_refcount - This function was removed due to the deprecation of
                      managed boxes as well as its questionable utility.

* transmute_mut - This function was previously deprecated, and removed as part
                  of this commit.

* transmute_mut_unsafe - This function doesn't serve much of a purpose when it
                         can be achieved with an `as` in safe code, so it was
                         removed.

* transmute_lifetime - This function was removed because it is likely a strong
                       indication that code is incorrect in the first place.

* transmute_mut_lifetime - This function was removed for the same reasons as
                           `transmute_lifetime`

* copy_lifetime - This function was moved to `mem`, but it is marked
                  `#[unstable]` now due to the likelihood of being removed in
                  the future if it is found to not be very useful.

* copy_mut_lifetime - This function was also moved to `mem`, but had the same
                      treatment as `copy_lifetime`.

* copy_lifetime_vec - This function was removed because it is not used today,
                      and its existence is not necessary with DST
                      (copy_lifetime will suffice).

In summary, the cast module was stripped down to these functions, and then the
functions were moved to the `mem` module.

    transmute - #[unstable]
    transmute_copy - #[stable]
    forget - #[stable]
    copy_lifetime - #[unstable]
    copy_mut_lifetime - #[unstable]

[breaking-change]
</content>
</entry>
<entry>
<title>Handle fallout in std::strbuf</title>
<updated>2014-05-08T19:06:21+00:00</updated>
<author>
<name>Kevin Ballard</name>
<email>kevin@sb.org</email>
</author>
<published>2014-05-04T04:41:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bbc35eada991b3256812598a555b1ef442d29c15'/>
<id>urn:sha1:bbc35eada991b3256812598a555b1ef442d29c15</id>
<content type='text'>
</content>
</entry>
</feed>
