Author: Hakan Ardo <[email protected]> Branch: extradoc Changeset: r3825:1ed18ccca681 Date: 2011-07-06 21:31 +0200 http://bitbucket.org/pypy/extradoc/changeset/1ed18ccca681/
Log: clairify diff --git a/blog/draft/realtime_image_processing.rst b/blog/draft/realtime_image_processing.rst --- a/blog/draft/realtime_image_processing.rst +++ b/blog/draft/realtime_image_processing.rst @@ -64,7 +64,9 @@ subclassing the class used to represent images and embed the interpolation within the pixel access method. PyPy is able to achieve good performance with this kind of abstractions because it can inline -virtual methods and specialize functions. +the pixel access method and specialize the implementation of the algorithm. +In C++ that kind of pixel access method would be virtual and you'll need to use +templates to get the same effect. XXX: Is that correct? To have a feeling on how much PyPy is faster than CPython, try to run the demo with the latter. On my machine, PyPy runs ``sobel.py`` at ~47.23 fps on _______________________________________________ pypy-commit mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-commit
