aboutsummaryrefslogtreecommitdiff
path: root/freelist_test.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move code to src/ and tests/EuAndreh2024-10-251-158/+0
|
* test suite refactoringBen Johnson2016-01-021-1/+3
| | | | | | | | | This commit refactors the test suite to make it cleaner and to use the standard testing library better. The `assert()`, `equals()`, and `ok()` functions have been removed and some test names have been changed for clarity. No functionality has been changed.
* Merge sorted pgids rather than resorting everythingMartin Kobetic2015-06-161-0/+27
|
* Remove testify.Ben Johnson2014-07-261-26/+57
|
* Add freelist cache.Ben Johnson2014-06-301-5/+5
| | | | | | This commit adds a cache to the freelist which combines the available free pages and pending free pages in a single map. This was added to improve performance where freelist.isFree() was consuming 70% of CPU time for large freelists.
* Fix freelist allocate().Ben Johnson2014-05-191-6/+10
|
* Fix freelist allocation direction.Ben Johnson2014-05-191-9/+8
| | | | | | 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-6/+6
| | | | | | | This commit adds the ability to create buckets inside of other buckets. It also replaces the buckets page with a root bucket. Fixes #56.
* 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-1/+1
|
* Add freelist.Ben Johnson2014-02-101-0/+95