diff options
| author | Junio C Hamano <gitster@pobox.com> | 2025-04-23 13:58:50 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-04-23 13:58:50 -0700 |
| commit | bb74c0abbc31da35be52999569ea481ebd149d1d (patch) | |
| tree | e10db152ee6486a1b9af0f7990a140730ebe0ce2 /object.h | |
| parent | Merge branch 'pb/perf-test-fixes' (diff) | |
| parent | bundle: fix non-linear performance scaling with refs (diff) | |
| download | git-bb74c0abbc31da35be52999569ea481ebd149d1d.tar.gz git-bb74c0abbc31da35be52999569ea481ebd149d1d.zip | |
Merge branch 'kn/bundle-dedup-optim'
Optimize the code to dedup references recorded in a bundle file.
* kn/bundle-dedup-optim:
bundle: fix non-linear performance scaling with refs
t6020: test for duplicate refnames in bundle creation
Diffstat (limited to 'object.h')
| -rw-r--r-- | object.h | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -327,12 +327,6 @@ void object_array_filter(struct object_array *array, object_array_each_func_t want, void *cb_data); /* - * Remove from array all but the first entry with a given name. - * Warning: this function uses an O(N^2) algorithm. - */ -void object_array_remove_duplicates(struct object_array *array); - -/* * Remove any objects from the array, freeing all used memory; afterwards * the array is ready to store more objects with add_object_array(). */ |
