]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #25067 - koute:master, r=alexcrichton
authorbors <bors@rust-lang.org>
Mon, 4 May 2015 07:24:24 +0000 (07:24 +0000)
committerbors <bors@rust-lang.org>
Mon, 4 May 2015 07:24:24 +0000 (07:24 +0000)
Without the inline annotation this:
    str::from_utf8_unchecked( slice::from_raw_parts( ptr, len ) )
doesn't get inlined which can be pretty brutal performance-wise
when used in an inner loop of a low level string manipulation method.


Trivial merge