is there is a way to make this faster

No description
8 Replies
Gooster
Gooster14mo 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?
𝔄ℑ𝔇𝔈𝔑
𝔄ℑ𝔇𝔈𝔑OP14mo ago
cant remove toArray because its a multithreaded server yeah it doesnt have async version
Gooster
Gooster14mo ago
also no callback version or something? idk i guess ur screwed? <:UD_shrug:891692475096375296> unless someone else knows a way
this_is_pain
this_is_pain14mo ago
what do you mean by faster what is this slowing, what performance do you want
𝔄ℑ𝔇𝔈𝔑
𝔄ℑ𝔇𝔈𝔑OP14mo 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
Jimmacle14mo 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
this_is_pain
this_is_pain14mo 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
𝔄ℑ𝔇𝔈𝔑
𝔄ℑ𝔇𝔈𝔑OP14mo ago
Yeah all method i use are static, and no i dont think this is the slow part

Did you find this page helpful?