sphinxy / DataStructures

Concurrent priority queue and skip list for .NET
MIT License
42 stars 22 forks source link

Random was instantiated twice #3

Closed bruno-garcia closed 8 years ago

bruno-garcia commented 8 years ago

_random was being instantiated twice:

private readonly Random _random = new Random(); and public SkipList(IComparer<T> comparer = null) { _random = new Random(); } To keep consistent, I removed field declaration assignment.