aboutsummaryrefslogtreecommitdiff
path: root/freelist.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix freelist allocate().Ben Johnson2014-05-191-2/+2
|
* Fix freelist allocation direction.Ben Johnson2014-05-191-18/+25
| | | | | | This commit fixes the freelist so that it frees from the beginning of the data file instead of the end. It also adds a fast path for pages which can be allocated from the first free pages and it includes read transaction stats.
* Add nested buckets.Ben Johnson2014-04-111-0/+25
| | | | | | | This commit adds the ability to create buckets inside of other buckets. It also replaces the buckets page with a root bucket. Fixes #56.
* Write freelist after each commit.Ben Johnson2014-03-311-0/+5
| | | | | Well, this is embarassing. Somehow the freelist was never getting written after each commit. This commit fixes that and fixes a small reporting issue with "bolt pages".
* Add 'bolt pages'.Ben Johnson2014-03-211-0/+17
|
* Rename Transaction to Tx.Ben Johnson2014-03-081-6/+6
| | | | | I changed the Transaction/RWTransaction types to Tx/RWTx, respectively. This makes the naming more consistent with other packages such as database/sql. The txnid is changed to txid as well.
* API Documentation.Ben Johnson2014-02-131-2/+2
|
* Add freelist.Ben Johnson2014-02-101-0/+94