this post was submitted on 21 Nov 2023
20 points (100.0% liked)

Python

6288 readers
5 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

๐Ÿ“… Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

๐Ÿ Python project:
๐Ÿ’“ Python Community:
โœจ Python Ecosystem:
๐ŸŒŒ Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 4 points 11 months ago (1 children)

Many, many parts of the standard library are written in C. Most performance critical parts are.

Do you need a pre-compiled tomllib? If you are using toml a lot, maybe. But chances are that you aren't reading a lot of toml files, and if you are, then you're probably already using rtoml.

[โ€“] [email protected] 3 points 11 months ago

The json is also still Python code. ujson helps but still json.dumps is suuuper slow.