add an initial Gc<T> stub with the API#10576
Merged
bors merged 1 commit intorust-lang:masterfrom Nov 20, 2013
thestinger:gc
Merged
add an initial Gc<T> stub with the API#10576bors merged 1 commit intorust-lang:masterfrom thestinger:gc
Gc<T> stub with the API#10576bors merged 1 commit intorust-lang:masterfrom
thestinger:gc
Conversation
src/libstd/gc.rs
Outdated
Contributor
There was a problem hiding this comment.
"A Freeze bound would also work"?
bors
added a commit
that referenced
this pull request
Nov 20, 2013
This isn't very useful yet, but it does replace most functionality of `@T`. The `Mut<T>` type will make it unnecessary to have a `GcMut<T>` so I haven't included one. Obviously it doesn't work for trait objects but that needs to be figured out for `Rc<T>` too.
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Sep 24, 2024
Build quine-mc_cluskey with `opt-level=3` in dev builds While doing some profiling I noticed that debug clippy running on the `clippy_lints` crate spends 35s out of 160s in one specific code path of `nonminimal_bool`, which seemed a bit excessive. I've found that just enabling optimizations for quine-mc_cluskey (used by nonminimal_bool) cuts down the part that took 35s to 3s While this doesn't really change anything for users, this helps dogfood a bit as it cuts off about half a minute of runtime (in some of my tests, at least). Something similar was attempted in rust-lang#10576, however that involved compiling everything in release mode including clippy itself, whereas this only affects a single dependency that's compiled in parallel with something that takes longer so this should hopefully not have a negative impact in any case (and changing clippy doesn't require recompiling that dependency) changelog: none
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This isn't very useful yet, but it does replace most functionality of
@T. TheMut<T>type will make it unnecessary to have aGcMut<T>so I haven't included one. Obviously it doesn't work for trait objects but that needs to be figured out forRc<T>too.