diff options
author | Ran Benita <ran234@gmail.com> | 2014-09-12 00:31:40 +0300 |
---|---|---|
committer | Ran Benita <ran234@gmail.com> | 2014-10-03 00:15:39 +0300 |
commit | e8b112325c4acd54c4ea49933322a06e4c79c8ca (patch) | |
tree | 4afeaeeaba900d6d42ab2239bd94cce2c4757df0 /test | |
parent | b3f2396588a1e5f3f7570b0344eb7c43702d439b (diff) | |
download | xorg-lib-libxkbcommon-e8b112325c4acd54c4ea49933322a06e4c79c8ca.tar.gz |
darray: add darray_shrink()
If we have a big array which can be finalized, on average we can give
back 1/4 of its size, which the allocator might be able to use.
Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions