]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/fetch.c
Merge branch 'ps/reftable-block-iteration-optim'
authorJunio C Hamano <gitster@pobox.com>
Tue, 23 Apr 2024 18:52:37 +0000 (11:52 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 23 Apr 2024 18:52:37 +0000 (11:52 -0700)
commit33bbc21c922798c9dc882e42162c5f2ad7b77852
tree7f07c7abc4071b81326dfb4e641a3a13119f7839
parent00e10ef10e161a913893b8cb33aa080d4ca5baa6
parent9da5c992dd8856035003cb06ff9c996a23956951
Merge branch 'ps/reftable-block-iteration-optim'

The code to iterate over reftable blocks has seen some optimization
to reduce memory allocation and deallocation.

* ps/reftable-block-iteration-optim:
  reftable/block: avoid copying block iterators on seek
  reftable/block: reuse `zstream` state on inflation
  reftable/block: open-code call to `uncompress2()`
  reftable/block: reuse uncompressed blocks
  reftable/reader: iterate to next block in place
  reftable/block: move ownership of block reader into `struct table_iter`
  reftable/block: introduce `block_reader_release()`
  reftable/block: better grouping of functions
  reftable/block: merge `block_iter_seek()` and `block_reader_seek()`
  reftable/block: rename `block_reader_start()`