is there is a way to make this faster

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

Did you find this page helpful?