← All projects
Project record1 mention
Originally shared on Hacker News

bbbb (Python bytecode archive format)

A "bytecode archive" format for Python that speeds up imports for some projects, mainly by avoiding filesystem work at import time; planned to be offered as an install-time option in PAPER, with bbbb later making wheels that include precompiled bytecode.

Last shared
01 / The problem

What it addresses

Python imports can be slow because of filesystem work at import time.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. bbbb (Python bytecode archive format)

    A "bytecode archive" format for Python that speeds up imports for some projects, mainly by avoiding filesystem work at import time; planned to be offered as an install-time option in PAPER, with bbbb later making wheels that include precompiled bytecode.

    Problem: Python imports can be slow because of filesystem work at import time.

    Posted by @zahlman · Original source ↗

    Source text · @zahlman · · Source ↗

    work on others (in particular, a "bytecode archive" format for Python that speeds up imports for some projects, mainly by avoiding filesystem work at import time — I want to offer it as an install-time option in PAPER, and later have `bbbb` make wheels with the bytecode precompiled that way)