More efficient info bucket management

Logged at every state_read() and state_write()
This commit is contained in:
Andrea Mazzoleni 2026-02-08 22:56:22 +01:00
parent 83b1c9bf3b
commit d5b5a9bcbf
13 changed files with 375 additions and 495 deletions

View file

@ -273,17 +273,5 @@ static inline int bit_vect_test(bit_vect_t* bit_vect, size_t off)
unsigned muldiv(uint64_t v, uint64_t mul, uint64_t div);
unsigned muldiv_upper(uint64_t v, uint64_t mul, uint64_t div);
/****************************************************************************/
/* sort */
/**
* Sort an array of uint64_t integers in-place
* Optimized for arrays with many duplicate values
*
* @param arr Pointer to array of uint64_t
* @param n Number of elements in the array
*/
void sort_time(time_t* arr, size_t n);
#endif