Data update
This commit is contained in:
parent
35bcdeebf8
commit
74c69a0df6
2427 changed files with 31826 additions and 3468 deletions
|
|
@ -16,17 +16,17 @@ extension algorithmOp
|
|||
{
|
||||
counter.append:1;
|
||||
|
||||
if (__target.Length < n)
|
||||
if (weak self.Length < n)
|
||||
{
|
||||
__target.append:i
|
||||
weak self.append:i
|
||||
}
|
||||
else
|
||||
{
|
||||
if(randomGenerator.nextInt:counter < n)
|
||||
{ __target[randomGenerator.nextInt:n] := i }
|
||||
{ weak self[randomGenerator.nextInt:n] := i }
|
||||
};
|
||||
|
||||
^ __target.Value
|
||||
^ weak self.Value
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue