Search
Items tagged with: markupsafe
Python has seen significant performance improvements in the last few releases. MarkupSafe has a C extension to speed up operations, but it's now *slower* in many cases than the plain Python implementation. Having a C extension increases the difficulty of maintenance, builds, releases, and installs. I'm wondering if it's time to drop the speedups. github.com/pallets/markupsafe/… #Python #MarkupSafe #Flask
Should we remove the C extension? · Issue #433 · pallets/markupsafe
It turns out that Python 3.12 is way faster at string operations than when MarkupSafe and its speedups were written. After running some benchmarks on short and long strings with and without HTML, b...GitHub