Skip to content

Commit

Permalink
Implement the array run is_subset operation
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerollmops committed Sep 13, 2020
1 parent d7fc191 commit 85d5176
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/bitmap/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,7 @@ impl Store {
}
}
(&Array(ref vec), store @ &Bitmap(..)) => vec.iter().all(|&i| store.contains(i)),
// TODO(jpg) is_subset array, run
(&Array(ref _vec), &Run(ref _intervals)) => unimplemented!(),
(&Array(ref vec), run @ &Run(..)) => vec.iter().all(|&i| run.contains(i)),

(&Bitmap(ref bits1), &Bitmap(ref bits2)) => bits1
.iter()
Expand Down

0 comments on commit 85d5176

Please sign in to comment.