mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31:34 +11:00
Reduce input and output offsets to 0..8 to half run time
This commit is contained in:
parent
d053aa1707
commit
e08aaf6c7a
|
@ -188,8 +188,8 @@ mod test {
|
|||
let mut output = vec![0u32; 100];
|
||||
|
||||
for size in 0..80 {
|
||||
for offset_input in 0..10 {
|
||||
for offset_output in 0..10 {
|
||||
for offset_input in 0..8 {
|
||||
for offset_output in 0..8 {
|
||||
// initialise the buffers
|
||||
for (i, value) in input.iter_mut().enumerate() {
|
||||
*value = i as u32;
|
||||
|
@ -224,8 +224,8 @@ mod test {
|
|||
let mut output = vec![0u32; 100];
|
||||
|
||||
for size in 0..40 {
|
||||
for offset_input in 0..10 {
|
||||
for offset_output in 0..10 {
|
||||
for offset_input in 0..8 {
|
||||
for offset_output in 0..8 {
|
||||
// initialise the buffers
|
||||
for (i, value) in input.iter_mut().enumerate() {
|
||||
*value = i as u32;
|
||||
|
|
Loading…
Reference in a new issue