• plistig@feddit.de
    link
    fedilink
    English
    arrow-up
    4
    ·
    11 months ago

    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.

    • sebsch
      link
      fedilink
      arrow-up
      3
      ·
      11 months ago

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