C
C#5mo ago
SY

is there is a way to make this faster

No description
8 Replies
Jester
Jester5mo 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?
SY
SY5mo ago
cant remove toArray because its a multithreaded server yeah it doesnt have async version
Jester
Jester5mo ago
also no callback version or something? idk i guess ur screwed? <:UD_shrug:891692475096375296> unless someone else knows a way
WEIRD FLEX
WEIRD FLEX5mo ago
what do you mean by faster what is this slowing, what performance do you want
SY
SY5mo 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
Jimmacle5mo 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
WEIRD FLEX
WEIRD FLEX5mo 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
SY
SY5mo 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
More Posts
Edit view not editing the Db entry but instead creating new oneWhat the title says, when I hit the submit button on the Edit view of my Utilizador model class, it The best way to handle Errors in Clean ArchHello, everything okay? I have a question. I want to know what is the best way to handle errors in mIssue with Telerik RadEditor (Please help!)I've been stuck with this issue for weeks now and I'm growing desperate. I posted my issue in detailCould not load file or assembly on VS CodeHello 👋 I'm facing the following error: System: Macbook M1 Pro Runtime: .NET 7.0 IDE: VS Code ErUnsure on how to structure using OOPHey, I have written the following abstract class to abstract away different communication drivers li✅ Dotnet on UbuntuHey! I would like to download C# onto my Ubuntu installation however, the terminal can't find any paUpdating Packages on old application problemsHello, I'm currently trying to upgrade some old apps I'm currently working on and I'm facing a weirRepo pattern - is it okay to call one repo from multiple services?Hi, pretty much the title summarizes it all. In one code base I am refactoring I am seeing a lot oferror MSB4006: A circular dependency exists in the target dependency graph in which the destinationHi how are things. The error is in Spanish, but the error is the same. Below I leave the structure oNpgsql 8.0 + EFCore 8.0 + JSON Colums with type List<T> not workingHello! I'm not sure if this is a bug or intended behavior, but I'm trying to have a `Patient` entit