-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Move "miscellaneous language-construct benchmarks" out of core::mem #13642
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
Comments
bors
added a commit
that referenced
this issue
Apr 20, 2014
Fixed a typo in the documentation of std::mem, and refactored a function to use match instead of if. Also added a FIXME to the benchmarks at the end of the file stating that they should be moved to another place, because they have nothing to do with `mem` (see #13642)
This has alredy been done |
nivkner
added a commit
to nivkner/rust
that referenced
this issue
Sep 30, 2017
remove FIXME(rust-lang#13101) since `assert_receiver_is_total_eq` stays. remove FIXME(rust-lang#19649) now that stability markers render. remove FIXME(rust-lang#13642) now the benchmarks were moved. remove FIXME(rust-lang#6220) now that floating points can be formatted. remove FIXME(rust-lang#18248) and write tests for `Rc<str>` and `Rc<[u8]>` remove reference to irelevent issues in FIXME(rust-lang#1697, rust-lang#2178...) update FIXME(rust-lang#5516) to point to getopts issue 7 update FIXME(rust-lang#7771) to point to RFC 628 update FIXME(rust-lang#19839) to point to issue 26925
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 |
It looks like #44943 did indeed move the benchmarks out of libcore (and into librustc), so closing this. |
Manishearth
pushed a commit
to Manishearth/rust
that referenced
this issue
Nov 23, 2022
fix(assists): remove `item_const` which had default value when implement missing members Fixed rust-lang/rust-analyzer#13292
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
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)).The text was updated successfully, but these errors were encountered: