You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to propose additional optional dependencies for faster performance.
orjson is widely adopted and outperforms the built-in json library - https://github.com/ijl/orjson
.loads being 2x faster and .dumps 10x faster
uuid-utils is 10x faster than uuid - https://github.com/aminalaee/uuid-utils
^ My only reason for proposing this is after seeing it used in Subscription.next_msg(): task_name = str(uuid4()) (only place it's used)
I understand if you don't want these to replace the built-in default libraries, so I wonder if optional dependencies are the best way to add it.
Either way, I think these will make significant performance improvements to the library (relatively speaking, it's already very fast)
Let me know what you think
Use case
Faster performance
Contribution
I can contribute this feature - just need to know the desired implementation (optional dependency vs built-in), and if they are separate extras or can be included together (they both use rust bindings).
The text was updated successfully, but these errors were encountered:
Proposed change
Good day
I'd like to propose additional optional dependencies for faster performance.
orjson
is widely adopted and outperforms the built-injson
library - https://github.com/ijl/orjson.loads being 2x faster and .dumps 10x faster
uuid-utils
is 10x faster thanuuid
- https://github.com/aminalaee/uuid-utils^ My only reason for proposing this is after seeing it used in Subscription.next_msg():
task_name = str(uuid4())
(only place it's used)I understand if you don't want these to replace the built-in default libraries, so I wonder if optional dependencies are the best way to add it.
Either way, I think these will make significant performance improvements to the library (relatively speaking, it's already very fast)
Let me know what you think
Use case
Faster performance
Contribution
I can contribute this feature - just need to know the desired implementation (optional dependency vs built-in), and if they are separate extras or can be included together (they both use rust bindings).
The text was updated successfully, but these errors were encountered: