r339 - Server uses ~40% less CPU now
#3
Apparently the copying of an empty std::map or std::deque 400 times a tick takes a lot of time, so I made a check to see if it contains anything before doing anything else. This brought my CPU from ~10% down to ~6% so, whateverTongue
Reply
Thanks given by:


Messages In This Thread
r339 - Server uses ~40% less CPU now - by tbar - 02-29-2012, 06:03 AM
RE: r339 - Server uses ~40% less CPU now - by FakeTruth - 02-29-2012, 06:28 AM



Users browsing this thread: 3 Guest(s)