šāššš
Question
So I have a server in c# and im trying to optomize it in general
https://www.quora.com/How-do-I-call-a-C-function-from-C-code
So I saw that I can call function wrote in c++ in a c# project
so is it worth to rewetie the functions in c++ and call them in c# ?
also If i did that running the server in linux will stay the same using
dotnet run command or I have to do extra things ?
Thanks,
8 replies
question
Hello, So im trying to make a multiplayer game using unity
so what is the best option to render the map
Make the client access the database and retreive map values
OR
client send a request to server side while server access the database and send it back to client
note: the map is large its 100 * 60 So I will have to compress it
6 replies
which is faster
so in c# there is something called StringBuilder i just figured it days ago
so my question which is is better to use
string extra = "Hello " + " World " + " extra stuff";
or to use StringBuilder for same purpose when I searched in Google it says that stringbuilder is much faster so just wanted to ask and make sure.
11 replies
ā
which is better ?
So I have class Room and Iām trying to do some optomization
I created a List of room and then created a function that makes a loop in the list and return the room if it matches the id.
Now thinking about it i can also make a Dictionary<int, room> and access room with the id which one is better ?
3 replies