changeset 124:721e80d2e444

created
author 127.0.0.1
date Sat, 07 Dec 2013 00:03:02 +0100
parents 84e93787a401
children bc4e98c6c707
files speed2.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/speed2.py	Sat Dec 07 00:03:02 2013 +0100
@@ -0,0 +1,8 @@
+CACHE = {1: 1}
+
+def run():
+    for i in xrange(100000):
+        try:
+            x = CACHE[2]
+        except KeyError:
+            pass
\ No newline at end of file