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/



_______________________________________________
Mldonkey-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/mldonkey-users

Reply via email to