Replies: 4 comments 4 replies
-
|
Can you explain a practical use case to help me understand this? |
Beta Was this translation helpful? Give feedback.
-
|
I've compared the implementation in genesis/channel.py (current) vs 1. Scalability: O(1) Routing vs. O(N) Broadcasting
2. Architectural Integrity: Separation of Concerns
Practical Example:
This shift from "filtering noise" to "routing signals" is essential for a robust, production-grade library. Since i'm lazy AI helped me with that 😉 |
Beta Was this translation helpful? Give feedback.
-
|
I'm going to end this discussion due to lack of interaction, since the PR has moved to the main branch |
Beta Was this translation helpful? Give feedback.
-
|
Sorry, i had to tackle another urgent project, i'll take a deeper look next week. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
With that in mind: #58
My way of handling events is to hand them down until they are in the correct object:
session --> channel --> result
Each class holds a dict where the key is the uuid, so lookup is fast. Whenever we send a message we give the message a unique uuid, that we add to the corresponding dict.
What do you think about that principle?
Beta Was this translation helpful? Give feedback.
All reactions