1
0
mirror of https://github.com/git/git.git synced 2024-09-28 15:01:31 +02:00
git/ewah
Jeff King d574bf43e8 ewah: factor out bitmap growth
We auto-grow bitmaps when somebody asks to set a bit whose position is
outside of our currently allocated range. Other operations besides
single bit-setting might need to do this, too, so let's pull it into its
own function.

Note that we change the semantics a little: you now ask for the number
of words you'd like to have, not the id of the block you'd like to write
to.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2020-12-08 14:48:16 -08:00
..
bitmap.c ewah: factor out bitmap growth 2020-12-08 14:48:16 -08:00
ewah_bitmap.c ewah/ewah_bitmap.c: avoid open-coding ALLOC_GROW() 2020-12-08 14:48:15 -08:00
ewah_io.c ewah: drop ewah_serialize_native function 2018-06-18 10:16:19 -07:00
ewah_rlw.c ewah: delete unused 'rlwit_discharge_empty()' 2018-06-21 09:39:48 -07:00
ewok_rlw.h ewok_rlw.h: add missing 'inline' to function definition 2018-10-29 10:14:19 +09:00
ewok.h Merge branch 'jk/object-filter-with-bitmap' 2020-03-02 15:07:18 -08:00