less allocations
commit94dd1c197476af260170312a131cb0a02fd0cf7c
authorygrek <ygrek@autistici.org>
Sun, 7 Aug 2011 11:36:41 +0000 (7 14:36 +0300)
committerygrek <ygrek@autistici.org>
Sun, 15 Apr 2012 06:14:09 +0000 (15 09:14 +0300)
tree7288a95e0d3f91a731ccb76a3538bd0446789430
parent17742106f38a59ff3fdfe60a1bc6d9c917c9b312
less allocations

BasicSocket.iter_timer: do not allocate new list when not needed
CommonFile: use Queue for sliding window
12 files changed:
src/daemon/common/commonFile.ml
src/daemon/common/commonFile.mli
src/networks/bittorrent/bTGlobals.ml
src/networks/direct_connect/dcGlobals.ml
src/networks/donkey/donkeyGlobals.ml
src/networks/fasttrack/fasttrackGlobals.ml
src/networks/fileTP/fileTPGlobals.ml
src/networks/gnutella/gnutellaGlobals.ml
src/networks/openFT/openFTGlobals.ml
src/networks/opennap/opennapGlobals.ml
src/networks/soulseek/slskGlobals.ml
src/utils/net/basicSocket.ml