changelog shortlog graph tags branches files raw help

changeset: created

changeset 134: fd4f4fb67949
parent 133: da19857379a1
child 135: e89ca3107b21
author: 127.0.0.1
date: Sat, 07 Dec 2013 00:09:22 +0100
files: speed6.py
description: created
     1.1--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2+++ b/speed6.py	Sat Dec 07 00:09:22 2013 +0100
     1.3@@ -0,0 +1,8 @@
     1.4+CACHE = {1: 1}
     1.5+
     1.6+def run():
     1.7+    missed = object()
     1.8+    for i in xrange(100000):
     1.9+        x = CACHE.get(2, missed)
    1.10+        if x is missed:
    1.11+            x = 1
    1.12\ No newline at end of file