Skip to content

Commit

Permalink
configure N to 100
Browse files Browse the repository at this point in the history
  • Loading branch information
al8n committed Nov 12, 2024
1 parent e4be48c commit 73ec3e3
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
10 changes: 5 additions & 5 deletions src/tests/dynamic/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ where
#[cfg(not(miri))]
const N: usize = 1000;
#[cfg(miri)]
const N: usize = 200;
const N: usize = 100;

let l2 = M::create_from_allocator(l.allocator().clone(), Ascend).unwrap();

Expand Down Expand Up @@ -427,7 +427,7 @@ where
#[cfg(not(miri))]
const N: usize = 1000;
#[cfg(miri)]
const N: usize = 200;
const N: usize = 100;

for i in (0..N).rev() {
let l = l.clone();
Expand Down Expand Up @@ -473,7 +473,7 @@ where
#[cfg(not(miri))]
const N: usize = 1000;
#[cfg(miri)]
const N: usize = 200;
const N: usize = 100;

for i in 0..N {
let l1 = l.clone();
Expand Down Expand Up @@ -529,7 +529,7 @@ where
#[cfg(not(miri))]
const N: usize = 1000;
#[cfg(miri)]
const N: usize = 200;
const N: usize = 100;

for i in 0..N {
let l = l.clone();
Expand Down Expand Up @@ -578,7 +578,7 @@ where
#[cfg(not(miri))]
const N: usize = 1000;
#[cfg(miri)]
const N: usize = 200;
const N: usize = 100;

for i in 0..N {
let l = l.clone();
Expand Down
8 changes: 4 additions & 4 deletions src/tests/dynamic/multiple_version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ where
#[cfg(not(miri))]
const N: usize = 1000;
#[cfg(miri)]
const N: usize = 200;
const N: usize = 100;

let l2 = M::create_from_allocator(l.allocator().clone(), Ascend).unwrap();

Expand Down Expand Up @@ -796,7 +796,7 @@ where
#[cfg(not(miri))]
const N: usize = 1000;
#[cfg(miri)]
const N: usize = 200;
const N: usize = 100;

for i in 0..N {
let l = l.clone();
Expand Down Expand Up @@ -842,7 +842,7 @@ where
#[cfg(not(miri))]
const N: usize = 1000;
#[cfg(miri)]
const N: usize = 200;
const N: usize = 100;

for i in (0..N).rev() {
let l1 = l.clone();
Expand Down Expand Up @@ -948,7 +948,7 @@ where
#[cfg(not(miri))]
const N: usize = 1000;
#[cfg(miri)]
const N: usize = 200;
const N: usize = 100;

for i in 0..N {
let l = l.clone();
Expand Down
10 changes: 5 additions & 5 deletions src/tests/generic/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ where
#[cfg(not(miri))]
const N: usize = 1000;
#[cfg(miri)]
const N: usize = 200;
const N: usize = 100;

let l2 = M::create_from_allocator(l.allocator().clone()).unwrap();

Expand Down Expand Up @@ -427,7 +427,7 @@ where
#[cfg(not(miri))]
const N: usize = 1000;
#[cfg(miri)]
const N: usize = 200;
const N: usize = 100;

for i in (0..N).rev() {
let l = l.clone();
Expand Down Expand Up @@ -473,7 +473,7 @@ where
#[cfg(not(miri))]
const N: usize = 1000;
#[cfg(miri)]
const N: usize = 200;
const N: usize = 100;

for i in 0..N {
let l1 = l.clone();
Expand Down Expand Up @@ -529,7 +529,7 @@ where
#[cfg(not(miri))]
const N: usize = 1000;
#[cfg(miri)]
const N: usize = 200;
const N: usize = 100;

for i in 0..N {
let l = l.clone();
Expand Down Expand Up @@ -578,7 +578,7 @@ where
#[cfg(not(miri))]
const N: usize = 1000;
#[cfg(miri)]
const N: usize = 200;
const N: usize = 100;

for i in 0..N {
let l = l.clone();
Expand Down
8 changes: 4 additions & 4 deletions src/tests/generic/multiple_version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ where
#[cfg(not(miri))]
const N: usize = 1000;
#[cfg(miri)]
const N: usize = 200;
const N: usize = 100;

let l2 = M::create_from_allocator(l.allocator().clone()).unwrap();

Expand Down Expand Up @@ -812,7 +812,7 @@ where
#[cfg(not(miri))]
const N: usize = 1000;
#[cfg(miri)]
const N: usize = 200;
const N: usize = 100;

for i in 0..N {
let l = l.clone();
Expand Down Expand Up @@ -858,7 +858,7 @@ where
#[cfg(not(miri))]
const N: usize = 1000;
#[cfg(miri)]
const N: usize = 200;
const N: usize = 100;

for i in (0..N).rev() {
let l1 = l.clone();
Expand Down Expand Up @@ -964,7 +964,7 @@ where
#[cfg(not(miri))]
const N: usize = 1000;
#[cfg(miri)]
const N: usize = 200;
const N: usize = 100;

for i in 0..N {
let l = l.clone();
Expand Down

0 comments on commit 73ec3e3

Please sign in to comment.