Commits

Mike Bayer  committed b7d1e9f

remove unneeded division

  • Participants
  • Parent commits d43986d

Comments (0)

Files changed (1)

File test/perf/masseagerload.py

         items.insert().execute(*l)
         for x in range(1, NUM/DIVISOR + 1):
             l = []
-            for y in range(1, NUM/(NUM/DIVISOR) + 1):
-                z = ((x-1) * NUM/(NUM/DIVISOR)) + y
+            for y in range(1, DIVISOR + 1):
+                z = ((x-1) * DIVISOR) + y
                 l.append({'sub_id':z,'value':'this is iteim #%d' % z, 'parent_id':x})
             #print l
             subitems.insert().execute(*l)