-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: remove Garbage Collection ;) #4227
Conversation
5a73e18
to
c947850
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #4227 +/- ##
==========================================
- Coverage 57.95% 57.89% -0.07%
==========================================
Files 197 197
Lines 43413 43430 +17
==========================================
- Hits 25161 25143 -18
- Misses 18252 18287 +35 ☔ View full report in Codecov by Sentry. |
I'm a simple developer. I see a "GC" I find the way to get rid of it.
c947850
to
60c3798
Compare
@@ -24,8 +24,9 @@ | |||
//! interaction is required to drive them forward. | |||
//! | |||
//! ### State Machine Contexts | |||
//! State machines have access to both a [global context](sm::GlobalContext) as | |||
//! well as to a [module-specific context](module::ClientModule::context). | |||
//! State machines have access to both a [global |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Autoformatter insists. I kind of don't care.
@@ -707,22 +698,22 @@ impl ExecutorBuilder { | |||
|
|||
/// A state that is able to make progress eventually | |||
#[derive(Debug)] | |||
pub struct ActiveStateKey<GC> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You got a point, I probably overdid it a bit with the SM executor's generality …
Also, that Ron Swanson meme made my day 🤣
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like it makes the code simpler to me
I'm a simple developer. I see a "GC" I find the way to get rid of it.
https://www.reddit.com/r/rustjerk/comments/n8b09i/ron_swanson_on_garbage_collection/