summaryrefslogtreecommitdiffstats
path: root/reftable/block.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* reftable/block: use `size_t` to track restart point indexPatrick Steinhardt2024-05-141-2/+2
* Merge branch 'ps/reftable-write-optim'Junio C Hamano2024-05-081-30/+50
|\
| * reftable/block: reuse compressed arrayPatrick Steinhardt2024-04-091-9/+5
| * reftable/block: reuse zstream when writing log blocksPatrick Steinhardt2024-04-091-28/+52
* | reftable/block: avoid copying block iterators on seekPatrick Steinhardt2024-04-151-18/+14
* | reftable/block: reuse `zstream` state on inflationPatrick Steinhardt2024-04-151-10/+15
* | reftable/block: open-code call to `uncompress2()`Patrick Steinhardt2024-04-151-10/+28
* | reftable/block: reuse uncompressed blocksPatrick Steinhardt2024-04-151-8/+6
* | reftable/reader: iterate to next block in placePatrick Steinhardt2024-04-151-0/+2
* | reftable/block: move ownership of block reader into `struct table_iter`Patrick Steinhardt2024-04-151-14/+29
* | reftable/block: introduce `block_reader_release()`Patrick Steinhardt2024-04-151-0/+5
* | reftable/block: better grouping of functionsPatrick Steinhardt2024-04-151-25/+25
* | reftable/block: merge `block_iter_seek()` and `block_reader_seek()`Patrick Steinhardt2024-04-151-7/+2
* | reftable/block: rename `block_reader_start()`Patrick Steinhardt2024-04-151-1/+1
* | reftable/block: avoid decoding keys when searching restart pointsPatrick Steinhardt2024-04-031-10/+19
* | reftable/block: fix error handling when searching restart pointsPatrick Steinhardt2024-04-031-5/+4
* | reftable/block: refactor binary search over restart pointsPatrick Steinhardt2024-04-031-27/+73
* | reftable/basics: fix return type of `binsearch()` to be `size_t`Patrick Steinhardt2024-04-031-1/+2
|/
* Merge branch 'ps/reftable-reflog-iteration-perf'Junio C Hamano2024-03-211-1/+3
|\
| * reftable/record: use scratch buffer when decoding recordsPatrick Steinhardt2024-03-051-1/+3
* | Merge branch 'ps/reftable-block-search-fix'Junio C Hamano2024-03-211-1/+1
|\ \ | |/ |/|
| * reftable/block: fix binary search over restart counterPatrick Steinhardt2024-03-071-1/+1
* | reftable/record: decode keys in placePatrick Steinhardt2024-03-041-14/+11
|/
* Merge branch 'ps/reftable-iteration-perf'Junio C Hamano2024-02-271-2/+1
|\
| * reftable/block: swap buffers instead of copyingPatrick Steinhardt2024-02-121-2/+1
* | reftable/record: improve semantics when initializing recordsPatrick Steinhardt2024-02-061-9/+9
* | reftable: introduce macros to allocate arraysPatrick Steinhardt2024-02-061-4/+6
* | reftable: introduce macros to grow arraysPatrick Steinhardt2024-02-061-6/+1
|/
* reftable/block: reuse buffer to compute record keysPatrick Steinhardt2023-12-111-11/+8
* reftable/block: introduce macro to initialize `struct block_iter`Patrick Steinhardt2023-12-111-3/+1
* reftable: avoid writing empty keys at the block layerHan-Wen Nienhuys2022-02-231-10/+17
* reftable: make reftable_record a tagged unionHan-Wen Nienhuys2022-01-201-1/+1
* reftable: fix resource leak in block.c error pathHan-Wen Nienhuys2022-01-201-9/+17
* reftable: reading/writing blocksHan-Wen Nienhuys2021-10-081-0/+437