diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-01-27 18:48:58 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-01-27 18:48:58 (GMT) |
commit | c1ca03be00a4e975f89d30edfb72b57fb5612282 (patch) | |
tree | 4884513252458a261eb1290c93748b2bbbd98ff8 /src/common/sort.h | |
parent | 1b3887c5609831bc2aee2f00f6a4d31d7406a225 (diff) |
Created a huge optimization for the Dex format loading.
Diffstat (limited to 'src/common/sort.h')
-rw-r--r-- | src/common/sort.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/sort.h b/src/common/sort.h index eb86ccb..7362f64 100644 --- a/src/common/sort.h +++ b/src/common/sort.h @@ -49,6 +49,9 @@ bool bsearch_index(const void *, const void *, size_t, size_t, __compar_fn_t, si /* Ajoute à l'endroit indiqué un élément dans un tableau. */ void *_qinsert(void *, size_t *, size_t, void *, size_t); +/* Ajoute à l'endroit indiqué des éléments dans un tableau. */ +void *_qinsert_batch(void *, size_t *, size_t, void *, size_t, size_t); + /* Ajoute au bon endroit un élément dans un tableau trié. */ void *qinsert(void *, size_t *, size_t, __compar_fn_t, void *); |