is there is a way to make this faster

No description
8 Replies
Jester
Jester11mo ago
first of all you can probably remove the ToArray second of all, its probably the sending of the packets thats slow? does it not have an async version?
𝔄ℑ𝔇𝔈𝔑
𝔄ℑ𝔇𝔈𝔑OP11mo ago
cant remove toArray because its a multithreaded server yeah it doesnt have async version
Jester
Jester11mo ago
also no callback version or something? idk i guess ur screwed? <:UD_shrug:891692475096375296> unless someone else knows a way
Omnissiah
Omnissiah11mo ago
what do you mean by faster what is this slowing, what performance do you want
𝔄ℑ𝔇𝔈𝔑
𝔄ℑ𝔇𝔈𝔑OP11mo ago
like when i host the server on a vps i feel the server is a bit slow so like im trying to boost the performance in general
Jimmacle
Jimmacle11mo ago
feelings aren't real, measurements are connecting to a remote server is going to add latency compared to a local/LAN server no matter what
Omnissiah
Omnissiah11mo ago
are you really sure this is the slow part? we should have a little more context, for example how big is playersIn, why there is no async also it's curious that send is a (static?) method of Packet
𝔄ℑ𝔇𝔈𝔑
𝔄ℑ𝔇𝔈𝔑OP11mo ago
Yeah all method i use are static, and no i dont think this is the slow part
Want results from more Discord servers?
Add your server