diff options
author | Dr Scofield | 2009-06-25 07:59:25 +0000 |
---|---|---|
committer | Dr Scofield | 2009-06-25 07:59:25 +0000 |
commit | 77122d78618e6545c7600504182ac61ed07bef59 (patch) | |
tree | 2e5af07e280c0f928f60f3352480aa31619cf127 /OpenSim/Region/Application | |
parent | adding logging statement for receive buffer size (diff) | |
download | opensim-SC_OLD-77122d78618e6545c7600504182ac61ed07bef59.zip opensim-SC_OLD-77122d78618e6545c7600504182ac61ed07bef59.tar.gz opensim-SC_OLD-77122d78618e6545c7600504182ac61ed07bef59.tar.bz2 opensim-SC_OLD-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/Application')
0 files changed, 0 insertions, 0 deletions