changeset 126:4e1ccfbc439e

created
author 127.0.0.1
date Sat, 07 Dec 2013 00:04:36 +0100
parents bc4e98c6c707
children 54f681fbb4fd
files speed3.py
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/speed3.py	Sat Dec 07 00:04:36 2013 +0100
@@ -0,0 +1,8 @@
+CACHE = {1: 1}
+
+def run():
+    for i in xrange(100000):
+        if 1 in x:
+            x = CACHE[1]
+        else:
+            x = 1
\ No newline at end of file