|
| From: | spiralvoice |
| Subject: | [Mldonkey-users] [patch #5759] OV/KAD: improved stats command and misc |
| Date: | Wed, 28 Feb 2007 22:08:26 +0000 |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.1.1) Gecko/20061205 Iceweasel/2.0.0.1 (Debian-2.0.0.1+dfsg-2) |
Follow-up Comment #2, patch #5759 (project mldonkey):
@orbit: You are wrong;-)
For example:
!n_used_buckets = 10
let b = prebuckets.(!n_used_buckets) in
(* stores prebuckets.10 into b *)
incr n_used_buckets
(* !n_used_buckets is increased by 1 *)
if bucket >= !n_used_buckets then
prebuckets.(!n_used_buckets)
(* prebuckets.11 is used here *)
else
b
(* b is used here, which still is prebuckets.10 *)
This code makes a copy of a bucket to use it later.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?5759>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |