[pypy-svn] r69043 - in pypy/extradoc/talk/rupy2009: . examples
fijal at codespeak.net
fijal at codespeak.net
Sat Nov 7 06:54:56 CET 2009
Author: fijal
Date: Sat Nov 7 06:54:55 2009
New Revision: 69043
Modified:
pypy/extradoc/talk/rupy2009/examples/escaping.py
pypy/extradoc/talk/rupy2009/examples/interp.py
pypy/extradoc/talk/rupy2009/examples/loop.py
pypy/extradoc/talk/rupy2009/talk.pdf
pypy/extradoc/talk/rupy2009/talk.tex
Log:
last minute changes
Modified: pypy/extradoc/talk/rupy2009/examples/escaping.py
==============================================================================
--- pypy/extradoc/talk/rupy2009/examples/escaping.py (original)
+++ pypy/extradoc/talk/rupy2009/examples/escaping.py Sat Nov 7 06:54:55 2009
@@ -1,4 +1,6 @@
+
+
[x, y, z]
v0 = IntObject(x.value % y.value)
return IntObject(z.value + v0.value)
@@ -7,6 +9,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
[x, y, z]
i0 = x.value % y.value
return IntObject(z.value + i0)
Modified: pypy/extradoc/talk/rupy2009/examples/interp.py
==============================================================================
--- pypy/extradoc/talk/rupy2009/examples/interp.py (original)
+++ pypy/extradoc/talk/rupy2009/examples/interp.py Sat Nov 7 06:54:55 2009
@@ -1,5 +1,10 @@
+
+
+
+
+
[x, y]
# LOAD_FAST
frame.valuestack.push(frame.locals[0])
@@ -16,6 +21,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
[x, y]
v0 = IntObject(x.value + y.value)
return v0
@@ -23,6 +40,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
[x, y]
return x + y
Modified: pypy/extradoc/talk/rupy2009/examples/loop.py
==============================================================================
--- pypy/extradoc/talk/rupy2009/examples/loop.py (original)
+++ pypy/extradoc/talk/rupy2009/examples/loop.py Sat Nov 7 06:54:55 2009
@@ -1,7 +1,7 @@
def f():
i = 0
s = 0
- while i < 1000000:
+ while i < 10000000:
s += (i % 10)
i += 1
Modified: pypy/extradoc/talk/rupy2009/talk.pdf
==============================================================================
Files pypy/extradoc/talk/rupy2009/talk.pdf (original) and pypy/extradoc/talk/rupy2009/talk.pdf Sat Nov 7 06:54:55 2009 differ
Modified: pypy/extradoc/talk/rupy2009/talk.tex
==============================================================================
--- pypy/extradoc/talk/rupy2009/talk.tex (original)
+++ pypy/extradoc/talk/rupy2009/talk.tex Sat Nov 7 06:54:55 2009
@@ -289,7 +289,7 @@
\pause
\item Pretty well
\pause
- \item XXXX speedup over CPython
+ \item A reasonable speedup over CPython
\end{itemize}
\end{frame}
@@ -316,6 +316,15 @@
\end{frame}
\begin{frame}
+ \frametitle{Bird's view of JIT}
+ \begin{itemize}
+ \item Mixed mode - interpreter \& JIT for hot paths
+ \item Tracing JIT (like TraceMonkey), not up-front
+ \item
+ \end{itemize}
+\end{frame}
+
+\begin{frame}
\frametitle{CPython vs PyPy}
\begin{itemize}
\item I use CPython for everyday usage
@@ -384,7 +393,8 @@
\frametitle{Profit tomorrow!}
\begin{itemize}
\item We plan to release JIT-ready version somewhere early 2010
- xxx
+ \pause
+ \item It should be able to speed up real-world programs
\end{itemize}
\end{frame}
@@ -395,7 +405,7 @@
\item Try running existing programs
\item Profile, report bugs
\pause
- \item Talk to your boss (XXX)
+ \item Talk to your boss
\end{itemize}
\end{frame}
More information about the Pypy-commit
mailing list