Skip to content

Commit b2afcd1

Browse files
authored
Merge pull request #41 from orxfun/upgrade-queue-and-iter-deps
Upgrade queue and iter deps
2 parents 69b3405 + 0d4fe8c commit b2afcd1

File tree

3 files changed

+3
-26
lines changed

3 files changed

+3
-26
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "orx-parallel"
3-
version = "1.7.0"
3+
version = "1.8.0"
44
edition = "2021"
55
authors = ["orxfun <[email protected]>"]
66
description = "A performant and configurable parallel computing library for computations defined as compositions of iterator methods."
@@ -17,8 +17,8 @@ orx-split-vec = "3.7"
1717
orx-pinned-concurrent-col = "2.6"
1818
orx-concurrent-bag = "2.6"
1919
orx-concurrent-ordered-bag = "2.6"
20-
orx-priority-queue = "1.2.1"
21-
orx-concurrent-iter = "1.24"
20+
orx-priority-queue = "1.3"
21+
orx-concurrent-iter = "1.25"
2222

2323
[dev-dependencies]
2424
chrono = "0.4.38"

src/into/into_par.rs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -68,20 +68,6 @@ pub trait IntoPar {
6868
fn into_par(self) -> ParEmpty<Self::ConIter>;
6969
}
7070

71-
// array
72-
impl<const N: usize, T: Send + Sync + Default> IntoPar for [T; N] {
73-
type ConIter = ConIterOfArray<N, T>;
74-
fn into_par(self) -> ParEmpty<Self::ConIter> {
75-
ParEmpty::new(self.into_con_iter())
76-
}
77-
}
78-
impl<const N: usize, T: Send + Sync + Default> IntoPar for ConIterOfArray<N, T> {
79-
type ConIter = ConIterOfArray<N, T>;
80-
fn into_par(self) -> ParEmpty<Self::ConIter> {
81-
ParEmpty::new(self)
82-
}
83-
}
84-
8571
// con-iter
8672
impl<T: Send + Sync, Iter> IntoPar for ConIterOfIter<T, Iter>
8773
where

tests/into/into_par.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,6 @@ fn into_par_slice() {
2424
test_numbers_ref(slice.into_par(), INPUT_LEN);
2525
}
2626

27-
#[test]
28-
fn into_par_array() {
29-
let mut array = [0usize; INPUT_LEN];
30-
for (i, x) in array.iter_mut().enumerate() {
31-
*x = i;
32-
}
33-
test_numbers_owned(array.into_par(), INPUT_LEN);
34-
}
35-
3627
#[test]
3728
fn into_par_iter() {
3829
let vec: Vec<_> = (0..INPUT_LEN).map(|i| i.to_string()).collect();

0 commit comments

Comments
 (0)