Replies: 1 comment
-
hey! :) I don't remember why I did it this way, it was one of my first Rust projects. Apparently in 2019 I briefly switched to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey @kpcyrd I was looking at your code and was wondering what made you choose
sync_channel
s with capacity of 256 instead of using asynchronouschannel
s.Did you do some benchmark and noticed that this is better for performance reasons?
Or is there some other aspect I'm missing?
In theory
channel
s could be more efficient but they could maybe run out of memory in case of high traffic loads.Was this your concern?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions