5 years ago Stefan Sperling
allow got_object_idset_for_each() to return an error
remove unnecessary #include
use userspace red-black tree macros, not kernel ones
remove object_idcache; use object_idset instead
implement object idset with a red-black tree
no need to zero new idset elements during allocation
reduce the amount of memcmp() calls via got_object_idset_add()
fix bug where duplicates were being added to object idset
6 years ago Stefan Sperling
remove unused got_object_idset_remove_random()
rename zbuf to inflate
undo previous; too much mixup in one data structure
store recently accessed objects at front of cache lists
speed up got_object_idset_remove_random() by almost 50%
fix got_object_idset_remove_random() for single-element set
init output param in got_object_idset_remove()
make data output param of got_object_idset_remove_random() optional
allow got_object_idset_remove() to retreive data pointer
fix leak in got_object_idset_remove()
introduce got_object_idset_remove_random()
undo previous; this approach won't work
allow removing an unspecified element with got_object_idset_remove()
store commit timestamps as 'struct tm' in UTC
use signed int for max numer of object idset elements
add an extra callback argument to got_object_idset_for_each()
rename got_object_idset_get_data() to got_object_idset_get()