~suranap/+junk/concur.net

« back to all changes in this revision

Viewing changes to Driver/Program.cs

  • Committer: U-Scooby\Pinku Surana
  • Date: 2009-08-27 21:10:31 UTC
  • Revision ID: surana@scooby-20090827211031-aoa9oypmmq4t3il3
Changed ToList to Build, which is more general and implements short-cut deforestation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
            Random r = new Random();
20
20
            List<int> nums = new List<int>(SIZE);
21
21
            for (int i = 0; i < SIZE; i++)
22
 
                nums.Add(r.Next());
 
22
                nums.Add(i);
23
23
 
24
24
            TestDictionary(nums);
25
25
            TestSkipList(nums);