aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs
diff options
context:
space:
mode:
authorDr Scofield2009-06-25 07:59:25 +0000
committerDr Scofield2009-06-25 07:59:25 +0000
commit77122d78618e6545c7600504182ac61ed07bef59 (patch)
tree2e5af07e280c0f928f60f3352480aa31619cf127 /OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs
parentadding logging statement for receive buffer size (diff)
downloadopensim-SC-77122d78618e6545c7600504182ac61ed07bef59.zip
opensim-SC-77122d78618e6545c7600504182ac61ed07bef59.tar.gz
opensim-SC-77122d78618e6545c7600504182ac61ed07bef59.tar.bz2
opensim-SC-77122d78618e6545c7600504182ac61ed07bef59.tar.xz
more efficient way of checking for already seen packets:
- uses Environment.TickCount for all timestamps (instead of more costly Util.UnixTimeSinceEpoch() - takes care of Environment.TickCount overflow (which will happens after 24.8 days of system uptime) - avoids instantiating List copies for each check - gets rid of one lock() invocation - moves calculation of loop invariant variable out of the loop itself
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs')
0 files changed, 0 insertions, 0 deletions