Skip to content
This repository has been archived by the owner on Jan 4, 2024. It is now read-only.

2.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@alexras alexras released this 24 Jan 22:22
· 44 commits to master since this release

Bread 2 represents a significant overhaul of Bread's internal structure.

It used to be that Bread parsed and unpacked an entire binary structure into a Python object on parse, and completely packed that structure up again on write. That wasn't the best design, especially in structures that have hundreds to thousands of tiny integers in them.

Bread now lazily loads fields and caches them. These two things should make it much faster to write and read large structures.