rust/library/alloc
Yuki Okushi 0c9b35b8c7
Rollup merge of #87644 - Flying-Toast:vec-remove-note, r=the8472
Recommend `swap_remove` in `Vec::remove` docs

I was able to increase the performance (by 20%!) of my project by changing a `Vec::remove` call to `Vec::swap_remove` in a hot function. I think we should explicitly put a note in the Vec::remove docs to guide people in the right direction so they don't make a similar oversight.
2021-08-02 11:03:30 +09:00
..
benches Fix may not to appropriate might not or must not 2021-07-29 01:15:20 -04:00
src Rollup merge of #87644 - Flying-Toast:vec-remove-note, r=the8472 2021-08-02 11:03:30 +09:00
tests Fix may not to appropriate might not or must not 2021-07-29 01:15:20 -04:00
Cargo.toml Add support for const operands and options to global_asm! 2021-05-13 22:31:57 +01:00