Optimize str::unsafe::slice_bytes
7a6860b
Opened by Brian Anderson at
This function is used all over the str module. It should be compile to a malloc + memcpy, but currently it uses vec::slice, which is copies elements one at a time calling take glue on each.