summaryrefslogtreecommitdiffstats
path: root/reftable/block.c
AgeCommit message (Expand)AuthorLines
2025-05-19Merge branch 'ps/reftable-read-block-perffix'Junio C Hamano-1/+6
2025-05-12reftable: fix perf regression when reading blocks of unwanted typePatrick Steinhardt-1/+6
2025-04-29Merge branch 'ps/reftable-api-revamp'Junio C Hamano-109/+175
2025-04-08Merge branch 'ps/reftable-sans-compat-util'Junio C Hamano-7/+9
2025-04-07reftable/constants: make block types part of the public interfacePatrick Steinhardt-2/+2
2025-04-07reftable/block: expose a generic iterator over reftable recordsPatrick Steinhardt-0/+56
2025-04-07reftable/block: make block iterators reseekablePatrick Steinhardt-10/+13
2025-04-07reftable/block: store block pointer in the block iteratorPatrick Steinhardt-14/+8
2025-04-07reftable/block: rename `block_reader` to `reftable_block`Patrick Steinhardt-71/+71
2025-04-07reftable/block: rename `block` to `block_data`Patrick Steinhardt-23/+23
2025-04-07reftable/table: move reading block into block readerPatrick Steinhardt-31/+56
2025-04-07reftable/block: simplify how we track restart pointsPatrick Steinhardt-13/+12
2025-04-07reftable/blocksource: consolidate code into a single filePatrick Steinhardt-14/+3
2025-04-07reftable: fix formatting of the license headerPatrick Steinhardt-6/+6
2025-03-21reftable: propagate specific error codes in block_writer_add()Meet Soni-6/+7
2025-02-18reftable/basics: provide wrappers for big endian conversionPatrick Steinhardt-6/+6
2025-02-18reftable/record: stop using `BUG()` in `reftable_record_init()`Patrick Steinhardt-1/+3
2025-02-06Merge branch 'ps/zlib-ng'Junio C Hamano-1/+0
2025-01-28git-compat-util: move include of "compat/zlib.h" into "git-zlib.h"Patrick Steinhardt-1/+0
2025-01-28compat: introduce new "zlib.h" headerPatrick Steinhardt-1/+1
2025-01-21reftable/block: adjust type of the restart lengthPatrick Steinhardt-7/+5
2025-01-21reftable/block: adapt header and footer size to return a `size_t`Patrick Steinhardt-2/+2
2025-01-21reftable/basics: adjust `hash_size()` to return `uint32_t`Patrick Steinhardt-2/+2
2024-12-28reftable: avoid leaks on realloc errorRené Scharfe-4/+6
2024-11-26reftable: rename scratch bufferPatrick Steinhardt-5/+5
2024-11-21reftable/block: optimize allocations by using scratch bufferPatrick Steinhardt-8/+5
2024-11-21reftable/block: rename `block_writer::buf` variablePatrick Steinhardt-10/+10
2024-10-17reftable: handle trivial `reftable_buf` errorsPatrick Steinhardt-2/+7
2024-10-17reftable/record: adapt `reftable_record_key()` to handle allocation failuresPatrick Steinhardt-5/+15
2024-10-17reftable: convert from `strbuf` to `reftable_buf`Patrick Steinhardt-17/+17
2024-10-17reftable: stop using `strbuf_addbuf()`Patrick Steinhardt-1/+1
2024-10-02reftable: introduce `REFTABLE_FREE_AND_NULL()`Patrick Steinhardt-3/+3
2024-10-02reftable/block: handle allocation failuresPatrick Steinhardt-2/+21
2024-05-13reftable/block: use `size_t` to track restart point indexPatrick Steinhardt-2/+2
2024-05-08Merge branch 'ps/reftable-write-optim'Junio C Hamano-30/+50
2024-04-15reftable/block: avoid copying block iterators on seekPatrick Steinhardt-18/+14
2024-04-15reftable/block: reuse `zstream` state on inflationPatrick Steinhardt-10/+15
2024-04-15reftable/block: open-code call to `uncompress2()`Patrick Steinhardt-10/+28
2024-04-15reftable/block: reuse uncompressed blocksPatrick Steinhardt-8/+6
2024-04-15reftable/reader: iterate to next block in placePatrick Steinhardt-0/+2
2024-04-15reftable/block: move ownership of block reader into `struct table_iter`Patrick Steinhardt-14/+29
2024-04-15reftable/block: introduce `block_reader_release()`Patrick Steinhardt-0/+5
2024-04-15reftable/block: better grouping of functionsPatrick Steinhardt-25/+25
2024-04-15reftable/block: merge `block_iter_seek()` and `block_reader_seek()`Patrick Steinhardt-7/+2
2024-04-15reftable/block: rename `block_reader_start()`Patrick Steinhardt-1/+1
2024-04-08reftable/block: reuse compressed arrayPatrick Steinhardt-9/+5
2024-04-08reftable/block: reuse zstream when writing log blocksPatrick Steinhardt-28/+52
2024-04-03reftable/block: avoid decoding keys when searching restart pointsPatrick Steinhardt-10/+19
2024-04-03reftable/block: fix error handling when searching restart pointsPatrick Steinhardt-5/+4
2024-04-03reftable/block: refactor binary search over restart pointsPatrick Steinhardt-27/+73