Skip to content

Commit

Permalink
Improve SlimBag class
Browse files Browse the repository at this point in the history
  • Loading branch information
notgiven688 committed May 31, 2024
1 parent e9e7961 commit 3a48d4b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Jitter2/DataStructures/SlimBag.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,6 @@ public void Clear()
/// </summary>
public void NullOut()
{
if(nullOut - counter > 0)
{
Array.Clear(array, counter, nullOut - counter);
}
Array.Clear(array, counter, nullOut - counter);
}
}

0 comments on commit 3a48d4b

Please sign in to comment.