is there is a way to make this faster

No description
8 Replies
Gooster
Goosterβ€’16mo 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?
π”„β„‘π”‡π”ˆπ”‘
cant remove toArray because its a multithreaded server yeah it doesnt have async version
Gooster
Goosterβ€’16mo ago
also no callback version or something? idk i guess ur screwed? <:UD_shrug:891692475096375296> unless someone else knows a way
ꜲΓ₯ąɐȁặβ±₯ᴀᴬ
what do you mean by faster what is this slowing, what performance do you want
π”„β„‘π”‡π”ˆπ”‘
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
Jimmacleβ€’16mo 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
ꜲΓ₯ąɐȁặβ±₯ᴀᴬ
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
π”„β„‘π”‡π”ˆπ”‘
Yeah all method i use are static, and no i dont think this is the slow part

Did you find this page helpful?