ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/loops/MapWordLoops.java
(Generate patch)

Comparing jsr166/src/test/loops/MapWordLoops.java (file contents):
Revision 1.7 by jsr166, Tue Mar 15 19:47:05 2011 UTC vs.
Revision 1.8 by jsr166, Mon Dec 5 04:08:46 2011 UTC

# Line 116 | Line 116 | public class MapWordLoops {
116          long startTime = System.currentTimeMillis();
117          runner.run();
118          long afterRun = System.currentTimeMillis();
119 <        long runTime =  (afterRun - startTime);
119 >        long runTime = afterRun - startTime;
120          int np = runner.total;
121          if (runner.total == runner.hashCode())
122              System.out.println("Useless Number" + runner.total);
# Line 177 | Line 177 | public class MapWordLoops {
177                  if (r < pctrem) {
178                      map.remove(k);
179                      ++nremoves;
180 <                    j += ((r >>> 8) & 7) +  n / 2;
180 >                    j += ((r >>> 8) & 7) + n / 2;
181                      if (j >= n) j -= n;
182                  }
183              }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines