On Fri, Jul 04, 2014 at 01:18:01PM +0200, 'Petr Pudlak' via ganeti-devel wrote:
> Internally, they're implemented using IntSets, which work quite well for
> both sparse and dense sets. The implementation is hidden outside the
> module so it's possible to replace it with something else, if needed.
> 
> Signed-off-by: Petr Pudlak <[email protected]>
> ---
>  Makefile.am                             |   3 +
>  src/Ganeti/Objects/BitArray.hs          | 153 
> ++++++++++++++++++++++++++++++++
>  test/hs/Test/Ganeti/Objects/BitArray.hs | 102 +++++++++++++++++++++
>  test/hs/htest.hs                        |   2 +
>  4 files changed, 260 insertions(+)
>  create mode 100644 src/Ganeti/Objects/BitArray.hs
>  create mode 100644 test/hs/Test/Ganeti/Objects/BitArray.hs

LGTM

-- 
Klaus Aehlig
Google Germany GmbH, Dienerstr. 12, 80331 Muenchen
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschaeftsfuehrer: Graham Law, Christine Elizabeth Flores

Reply via email to