1. Carl Friedrich Bolz
  2. benchmarks-pypy-phd

Commits

Carl Friedrich Bolz  committed ddd62ef Draft

don't actually write anything to disc, to make the result repeatable

  • Participants
  • Parent commits ba3d1f9
  • Branches default

Comments (0)

Files changed (1)

File own/raytrace-simple.py

View file
         for y in range(canvas.height):
             currentfraction = float(y) / canvas.height
             if currentfraction - previousfraction > 0.05:
-                canvas.save()
+                #canvas.save()
                 #print '%d%% complete' % (currentfraction * 100)
                 previousfraction = currentfraction
             for x in range(canvas.width):