changelog shortlog graph tags branches files raw help

changeset: created

changeset 122: 42ec4bbcd2de
parent 121: 05fee1fb918b
child 123: 84e93787a401
author: 127.0.0.1
date: Sat, 07 Dec 2013 00:01:23 +0100
files: speed1.py
description: created
     1.1--- a/speed1.py	Sat Dec 07 00:00:52 2013 +0100
     1.2+++ b/speed1.py	Sat Dec 07 00:01:23 2013 +0100
     1.3@@ -1,7 +1,8 @@
     1.4 CACHE = {1: 1}
     1.5 
     1.6-for i in xrange(100000):
     1.7-    try:
     1.8-        x = CACHE[1]
     1.9-    except KeyError:
    1.10-        pass
    1.11\ No newline at end of file
    1.12+def run():
    1.13+    for i in xrange(100000):
    1.14+        try:
    1.15+            x = CACHE[1]
    1.16+        except KeyError:
    1.17+            pass
    1.18\ No newline at end of file