You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Move "miscellaneous language-construct benchmarks" out of core::mem #13642
In std::mem there are some benchmarks regarding to miscellaneous language constructs (such as pattern matching and method dispatch). Since they have nothing to do with memory and the functions defined in this file, I think they should be moved to another place.
I thought it was reasonable to move them to src/test/bench, but it looks like this is not very convenient (see #13553 (comment)).
changed the title [-]Move "miscellaneous language-construct benchmarks" out from std::mem[/-][+]Move "miscellaneous language-construct benchmarks" out of std::mem[/+]on May 12, 2014
changed the title [-]Move "miscellaneous language-construct benchmarks" out of std::mem[/-][+]Move "miscellaneous language-construct benchmarks" out of core::mem[/+]on Oct 3, 2017
Reopening because I don't think this was ever finished. The benchmarks were moved from std to core and from src to benches, but as of Rust 1.20 they are in libcore/benches/mem.rs which is still confusing because as commented above, they have nothing to do with memory or the functions in core::mem.
Activity
auto merge of #13643 : aochagavia/rust/pr-2, r=alexcrichton
[-]Move "miscellaneous language-construct benchmarks" out from std::mem[/-][+]Move "miscellaneous language-construct benchmarks" out of std::mem[/+]aochagavia commentedon Nov 24, 2014
This has alredy been done
[-]Move "miscellaneous language-construct benchmarks" out of std::mem[/-][+]Move "miscellaneous language-construct benchmarks" out of core::mem[/+]dtolnay commentedon Oct 3, 2017
Reopening because I don't think this was ever finished. The benchmarks were moved from std to core and from src to benches, but as of Rust 1.20 they are in
libcore/benches/mem.rswhich is still confusing because as commented above, they have nothing to do with memory or the functions in core::mem.Mark-Simulacrum commentedon Dec 7, 2019
It looks like #44943 did indeed move the benchmarks out of libcore (and into librustc), so closing this.
Auto merge of rust-lang#13642 - bvanjoi:fix-13292, r=Veykril