<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>JSON Parsing on α-Lyrae</title><link>https://chr.fan/tags/json-parsing/</link><description>Recent content in JSON Parsing on α-Lyrae</description><generator>Hugo</generator><language>zh</language><copyright>© Antares0982</copyright><lastBuildDate>Mon, 11 Aug 2025 02:15:41 +0800</lastBuildDate><atom:link href="https://chr.fan/tags/json-parsing/index.xml" rel="self" type="application/rss+xml"/><item><title>ssrJSON: 如何写出性能最高的Python JSON库？（简介）</title><link>https://chr.fan/ssrjson-series-0/</link><pubDate>Mon, 11 Aug 2025 02:11:11 +0800</pubDate><guid>https://chr.fan/ssrjson-series-0/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;TL;DR: 笔者开发的&lt;a href="https://github.com/Antares0982/ssrJSON"&gt;ssrJSON&lt;/a&gt;是一个利用SIMD加速的Python JSON解析库，主要使用C语言编写。在绝大多数测试用例中，比之前&lt;em&gt;世界上性能最高&lt;/em&gt;的Python JSON解析库&lt;a href="https://github.com/ijl/orjson"&gt;orjson&lt;/a&gt;快；在处理非ASCII字符串（例如中文）以及浮点数时，有极大的性能优势。&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;h2 id="intro"&gt;Intro&lt;/h2&gt;&#10;&lt;p&gt;ssrJSON是一个使用C/C++编写的Python JSON库，利用现代硬件的SIMD指令以达到尽可能高的JSON编解码性能。ssrJSON会检测硬件支持的SIMD特性，自动选择合适的SIMD指令集进行编解码。&lt;/p&gt;</description></item></channel></rss>