Skip to content
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

why #15

Closed
mewzax opened this issue Dec 13, 2022 · 4 comments
Closed

why #15

mewzax opened this issue Dec 13, 2022 · 4 comments

Comments

@mewzax
Copy link

mewzax commented Dec 13, 2022

why r u using zlib-sync? for performance?

@yafyz
Copy link
Owner

yafyz commented Dec 13, 2022

what else exactly am i supposed to use?

@mewzax
Copy link
Author

mewzax commented Dec 13, 2022

wss://gateway.discord.gg/?encoding=etf&v=9&compress=zlib-stream

I mean why using &compress=zlib-stream and zlib-sync in your code ?

@yafyz
Copy link
Owner

yafyz commented Dec 13, 2022

well yeah, for performance
compression usually compresses data -> data to be sent is smaller

@mewzax
Copy link
Author

mewzax commented Dec 13, 2022

ok makes sense

@mewzax mewzax closed this as completed Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants