git/reftable
Elijah Conners c18eecbe5c reftable: use a pointer for pq_entry param
The speed of the merged_iter_pqueue_add() can be improved by using a
pointer to the pq_entry struct, which is 96 bytes. Since the pq_entry
param is worked directly on the stack and does not currently have a
pointer to it, the merged_iter_pqueue_add() function is slightly
slower.

References to pq_entry in reftable have typically included pointers,
such as both of the params for pq_less().

Since we are working with pointers in the pq_entry param, as keenly
pointed out, the pq_entry param has also been made into a const since
the contents of the pq_entry param are copied and not manipulated.

Signed-off-by: Elijah Conners <business@elijahpepe.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2022-09-15 11:32:37 -07:00
..
basics.c
basics.h
basics_test.c
block.c reftable: avoid writing empty keys at the block layer 2022-02-23 13:36:26 -08:00
block.h
block_test.c reftable: avoid writing empty keys at the block layer 2022-02-23 13:36:26 -08:00
blocksource.c Merge branch 'cm/reftable-0-length-memset' 2022-05-04 09:51:29 -07:00
blocksource.h
constants.h
dump.c
error.c
generic.c reftable: make assignments portable to AIX xlc v12.01 2022-03-28 13:58:10 -07:00
generic.h
iter.c reftable: make reftable_record a tagged union 2022-01-20 11:31:53 -08:00
iter.h
LICENSE
merged.c reftable: use a pointer for pq_entry param 2022-09-15 11:32:37 -07:00
merged.h
merged_test.c
pq.c reftable: use a pointer for pq_entry param 2022-09-15 11:32:37 -07:00
pq.h reftable: use a pointer for pq_entry param 2022-09-15 11:32:37 -07:00
pq_test.c reftable: use a pointer for pq_entry param 2022-09-15 11:32:37 -07:00
publicbasics.c
reader.c reftable: drop unused parameter from reader_seek_linear() 2022-08-20 14:14:55 -07:00
reader.h
readwrite_test.c reftable: rename writer_stats to reftable_writer_stats 2022-02-23 13:36:26 -08:00
record.c reftable: add print functions to the record types 2022-01-20 11:31:53 -08:00
record.h reftable: add print functions to the record types 2022-01-20 11:31:53 -08:00
record_test.c reftable: make assignments portable to AIX xlc v12.01 2022-03-28 13:58:10 -07:00
refname.c
refname.h
refname_test.c
reftable-blocksource.h
reftable-error.h
reftable-generic.h
reftable-iterator.h
reftable-malloc.h
reftable-merged.h
reftable-reader.h
reftable-record.h reftable: make reftable-record.h function signatures const correct 2022-01-20 11:31:53 -08:00
reftable-stack.h
reftable-tests.h
reftable-writer.h reftable: rename writer_stats to reftable_writer_stats 2022-02-23 13:36:26 -08:00
stack.c Merge branch 'hn/reftable-coverity-fixes' 2022-02-16 15:14:28 -08:00
stack.h
stack_test.c Merge branch 'ep/maint-equals-null-cocci' 2022-05-20 15:26:59 -07:00
system.h compat: auto-detect if zlib has uncompress2() 2022-01-26 09:05:55 -08:00
test_framework.c
test_framework.h
tree.c tree-wide: apply equals-null.cocci 2022-05-02 10:09:21 -07:00
tree.h
tree_test.c
writer.c Merge branch 'ep/maint-equals-null-cocci' 2022-05-20 15:26:59 -07:00
writer.h