Skip to content

Commit a1833de

Browse files
committed
Patch release.
1 parent 2e39654 commit a1833de

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed

Sources/CRoaring/include/roaring.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// !!! DO NOT EDIT - THIS IS AN AUTO-GENERATED FILE !!!
2-
// Created by amalgamation.sh on 2023-02-09T21:36:47Z
2+
// Created by amalgamation.sh on 2023-02-11T22:19:22Z
33

44
/*
55
* The CRoaring project is under a dual license (Apache/MIT).
@@ -58,11 +58,11 @@
5858
// /include/roaring/roaring_version.h automatically generated by release.py, do not change by hand
5959
#ifndef ROARING_INCLUDE_ROARING_VERSION
6060
#define ROARING_INCLUDE_ROARING_VERSION
61-
#define ROARING_VERSION "0.9.5"
61+
#define ROARING_VERSION "0.9.6"
6262
enum {
6363
ROARING_VERSION_MAJOR = 0,
6464
ROARING_VERSION_MINOR = 9,
65-
ROARING_VERSION_REVISION = 5
65+
ROARING_VERSION_REVISION = 6
6666
};
6767
#endif // ROARING_INCLUDE_ROARING_VERSION
6868
/* end file include/roaring/roaring_version.h */

Sources/CRoaring/roaring.c

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// !!! DO NOT EDIT - THIS IS AN AUTO-GENERATED FILE !!!
2-
// Created by amalgamation.sh on 2023-02-09T21:36:47Z
2+
// Created by amalgamation.sh on 2023-02-11T22:19:22Z
33

44
/*
55
* The CRoaring project is under a dual license (Apache/MIT).
@@ -6715,15 +6715,7 @@ static inline container_t *container_remove_range(
67156715
}
67166716

67176717
run_container_remove_range(run, min, max);
6718-
6719-
if (run_container_serialized_size_in_bytes(run->n_runs) <=
6720-
bitset_container_serialized_size_in_bytes()) {
6721-
*result_type = RUN_CONTAINER_TYPE;
6722-
return run;
6723-
} else {
6724-
*result_type = BITSET_CONTAINER_TYPE;
6725-
return bitset_container_from_run(run);
6726-
}
6718+
return convert_run_to_efficient_container(run, result_type);
67276719
}
67286720
default:
67296721
__builtin_unreachable();

0 commit comments

Comments
 (0)