Repository navigation
v0.9.0
Immutable
release. Only release title and notes can be modified.
Changed
- The playground runs on Pyodide 0.29.5 (Python 3.13), up from 0.26.4, in a module
worker. The page downloads 1.5 MB less to start, and a build removes runtime files the
pin no longer names, so an old release's loader is never served next to the new one. Spelling()takes onlyleftandright.is_function,is_array,ref_kind
andmemberscome from the class now, through private subclasses the builder picks,
so a plain name costs two attribute stores rather than six and Itanium runs about 2%
fewer instructions. Code that passed those keywords should callSPELLING_BUILDER's
methods instead.
Performance
- Itanium names read about twice as fast on CPython. The wheels for Linux, macOS
and Windows on CPython 3.11 to 3.14 now carry the reader, the spelling builder and the
Itanium parser compiled with mypyc, from the same source: 19 us a name cold over the
libstdc++ and real-world corpora, against 40 for 0.6.0 and for the pure code. The
output is the same byte for byte. PyPy, free-threaded builds, other platforms and
--no-binaryinstalls get the pure wheel, which is unchanged. - The playground reads its first name about half a second sooner. A site built on
Python 3.13, the runtime's own, ships the package as bytecode, so the browser no longer
compiles it on every visit.
Install with python -m pip install --upgrade demangle.
See the changelog for details.