How to reduce the delay on the network

For code related discussions and questions

How to reduce the delay on the network

Postby moltengear » 07 Nov 2017, 17:07

Hello! I don't know if such a trick is used. It is possible to pack 8 variables of type boolean into one variable of type char.
About it.
https://stackoverflow.com/questions/846 ... vice-versa
moltengear
Rookie
Rookie
 
Posts: 23
Joined: 22 Jul 2017, 15:05

Re: How to reduce the delay on the network

Postby Cyp » 07 Nov 2017, 21:45

I don't think there are many booleans sent over the net, and everything is gzipped before being sent over the net, so they would be sort-of packed, anyway.
Cyp
Evitcani
Evitcani
 
Posts: 691
Joined: 17 Jan 2010, 23:35


Return to Coding