Impl PartialEq, Eq, Hash for ActorRef#368
Conversation
|
Why would you wan to do this? ActorId's exist for actor matching purposes, you shouldn't match on the full ActorRef ideally or use it as a key in a hash map |
slawlor
left a comment
There was a problem hiding this comment.
We need a reasoning why this is necessary here.
|
Sorry, in some project I store a list of attached
For for a in all_actors {
if a.get_cell() != sender.get_cell() {
// send
}
}I would like to be able to omit the Sorry for the delay and not being able to be more specific, |
|
Previously I was also storing the actors in a |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #368 +/- ##
==========================================
- Coverage 82.44% 82.40% -0.04%
==========================================
Files 71 71
Lines 12891 12897 +6
==========================================
Hits 10628 10628
- Misses 2263 2269 +6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
thanks! |
No description provided.