On-Disk B-Trees allow for storing more data than can be fit in memory. This allows for quick access to large datasets. B-Trees are commonly used for indexes within databases.
BTree is built on top of Apple’s Codable protocol. This allows for easy storage of JSON records, and any JSON can be stored in BTree. This allows for quick storage of data retrieved from the web, JSON files or your own custom structures within Swift.