Permalink
Browse files

Added comments to test.py

  • Loading branch information...
grahamking committed Mar 13, 2012
1 parent c492f07 commit b461764b03985b39b5718e409be4dc7b39ebd730
Showing with 4 additions and 4 deletions.
  1. +4 −4 test.py
View
@@ -14,9 +14,9 @@
assert(mc['br'] == 'one\r\ntwo')
# set
-for i in range(10):
- mc[str(i)] = i
+for i in range(500):
+ mc[str(i)] = i # This hashmap syntax writes to memcached
# get
-for i in range(10):
- val = mc[str(i)]
+for i in range(500):
+ val = mc[str(i)] # Hashmap syntax reads from memcached
assert(int(val) == i)

0 comments on commit b461764

Please sign in to comment.