/[gzz]/gzz/gfx/demo/memoryleak.py
ViewVC logotype

Diff of /gzz/gfx/demo/memoryleak.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by mudyc, Thu Jan 30 14:51:02 2003 UTC revision 1.2 by mudyc, Thu Jan 30 14:59:09 2003 UTC
# Line 34  class ViewScene: Line 34  class ViewScene:
34    
35          # Build 500 coordsys ;)          # Build 500 coordsys ;)
36          cs_a = vs.coords.affineCoordsys(0, 10, self.x,self.y, tscale, 0, 0, tscale)          cs_a = vs.coords.affineCoordsys(0, 10, self.x,self.y, tscale, 0, 0, tscale)
37          for i in range(0,500):          for i in range(0,1000):
38              cs_a = vs.translateCS(cs_a, "asdf"+str(i), 0,0,0)              cs_a = vs.translateCS(cs_a, "asdf"+str(i), 0,0,0)
39                            
40          vs.matcher.add(cs_a, "A")          vs.matcher.add(cs_a, "A")

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26