Commits

Armin Rigo committed 0f46fb1

tweaks

Comments (0)

Files changed (2)

talk/pyconza2013/talk.pdf

Binary file modified.

talk/pyconza2013/talk.rst

 Introduction
 ------------
 
+* me: Armin Rigo
+
 * what is PyPy: an alternative implementation of Python
 
 * very compatible
 ------------
 
 .. image:: speed.png
-   :scale: 65%
+   :scale: 67%
    :align: center
 
 
 
 ::
 
-    with the_lock:      with the_lock:        with ..
-      x = obj.val         x = obj.val           x =..
-      obj.val = x + 1     obj.val = x + 1       obj..
+    with the_lock:     with the_lock:        with ..
+      x = obj.val        x = obj.val           x =..
+      obj.val = x + 1    obj.val = x + 1       obj..
 
 
 Locks != Transactions
 
 ::
 
-    with atomic:        with atomic:          with ..
-      x = obj.val         x = obj.val           x =..
-      obj.val = x + 1     obj.val = x + 1       obj..
+    with atomic:       with atomic:          with ..
+      x = obj.val        x = obj.val           x =..
+      obj.val = x + 1    obj.val = x + 1       obj..
 
 
 STM
 
 * no, it would be quite hard to implement it in standard CPython
 
-* but not completely impossible
+* too bad for now, only in PyPy
 
-* too bad for now, only in PyPy
+* but it would not be completely impossible
 
 
 But...
 
   for account in all_accounts:
      add_task(account.apply_interest)
-  run_tasks()
+  run_all_tasks()
 
 
 Internally