[pypy-svn] commit/extradoc: 2 new changesets

Bitbucket commits-noreply at bitbucket.org
Mon Mar 7 00:42:43 CET 2011


2 new changesets in extradoc:

http://bitbucket.org/pypy/extradoc/changeset/0c88e3152af1/
changeset:   r3354:0c88e3152af1
branch:      extradoc
user:        fijal
date:        2011-03-07 00:41:59
summary:     examples
affected #:  2 files (361 bytes)

--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/talk/pycon2011/whyslow/examples/frame.py	Mon Mar 07 00:41:59 2011 +0100
@@ -0,0 +1,11 @@
+
+def f():
+    i = 0
+    while i < 2000:
+        i += 1
+    print sys._getframe().f_locals
+    # has to have 'i' as a local
+    return i
+
+if __name__ == '__main__':
+    f()


--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/talk/pycon2011/whyslow/examples/tracing.py	Mon Mar 07 00:41:59 2011 +0100
@@ -0,0 +1,14 @@
+
+def f():
+    i = 0
+    s = 0
+    while i < 3000:
+        if i % 3 == 0:
+            s += 1
+        else:
+            s += 2
+        i += 1
+    return s
+
+if __name__ == '__main__':
+    f()


http://bitbucket.org/pypy/extradoc/changeset/ad919f219d85/
changeset:   r3355:ad919f219d85
branch:      extradoc
user:        fijal
date:        2011-03-07 00:42:40
summary:     merge heads
affected #:  0 files (0 bytes)

--- a/planning/jit.txt	Mon Mar 07 00:41:59 2011 +0100
+++ b/planning/jit.txt	Mon Mar 07 00:42:40 2011 +0100
@@ -76,6 +76,11 @@
   maybe we should move promote even higher, before the first use and we
   could possibly remove more stuff?
 
+- f31 = f17 * f16
+  f32 = f16 * f17
+
+  Should be just a matter of synthesizing reverse operations in rewrite.py
+
 
 PYTHON EXAMPLES
 ---------------


Binary file talk/ustour2011/speed.png has changed


Binary file talk/ustour2011/speed2.png has changed


--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/talk/ustour2011/ui	Mon Mar 07 00:42:40 2011 +0100
@@ -0,0 +1,1 @@
+../stanford-ee380-2011/ui
\ No newline at end of file

Repository URL: https://bitbucket.org/pypy/extradoc/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the Pypy-commit mailing list