====================== What's new in PyPy 2.1 ====================== .. this is a revision shortly after release-2.1-beta .. startrev: 4eb52818e7c0 .. branch: fastjson Fast json decoder written in RPython, about 3-4x faster than the pure Python decoder which comes with the stdlib .. branch: improve-str2charp Improve the performance of I/O writing up to 15% by using memcpy instead of copying char-by-char in str2charp and get_nonmovingbuffer .. branch: flowoperators Simplify rpython/flowspace/ code by using more metaprogramming. Create SpaceOperator class to gather static information about flow graph operations. .. branch: package-tk Adapt package.py script to compile CFFI tk extension. Add a --without-tk switch to optionally skip it. .. branch: distutils-cppldflags Copy CPython's implementation of customize_compiler, dont call split on environment variables, honour CFLAGS, CPPFLAGS, LDSHARED and LDFLAGS on Unices. .. branch: precise-instantiate When an RPython class is instantiated via an indirect call (that is, which class is being instantiated isn't known precisely) allow the optimizer to have more precise information about which functions can be called. Needed for Topaz. .. branch: ssl_moving_write_buffer .. branch: pythoninspect-fix Make PyPy respect PYTHONINSPECT variable set via os.putenv in the same process to start interactive prompt when the script execution finishes. This adds new __pypy__.os.real_getenv call that bypasses Python cache and looksup env in the underlying OS. Translatorshell now works on PyPy. .. branch: add-statvfs Added os.statvfs and os.fstatvfs .. branch: statvfs_tests Added some addition tests for statvfs. .. branch: ndarray-subtype Allow subclassing ndarray, i.e. matrix .. branch: kill-ootype .. branch: fast-slowpath Added an abstraction for functions with a fast and slow path in the JIT. This speeds up list.append() and list.pop().