#### Lan python #### Des Recently I used json.dumps() to exchange the dict to string,you could call it serialization.However the dictionary was too large so that it took almost 3 minutes.Therefore, I begin to search for ways to optimize it. #### json The module of json is completed with pure python. Install: `# pip install json` #### ujson The full name is UltraJSON. UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 2.5+ and 3. Install: `# pip install ujson` See more information on github: https://github.com/esnme/ultrajson 最后修改:2019 年 01 月 06 日 01 : 27 PM © 著作权归作者所有