-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
65 additions
and
53 deletions.
There are no files selected for viewing
Submodule fastlanez
updated
from e1bc9e to b4dfae
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
use std::collections::HashMap; | ||
use vortex::error::VortexResult; | ||
|
||
use crate::ALPArray; | ||
use vortex::stats::{Stat, StatsCompute, StatsSet}; | ||
|
||
impl StatsCompute for ALPArray { | ||
fn compute(&self, _stat: &Stat) -> StatsSet { | ||
fn compute(&self, _stat: &Stat) -> VortexResult<StatsSet> { | ||
// TODO(ngates): implement based on the encoded array | ||
StatsSet::from(HashMap::new()) | ||
Ok(StatsSet::from(HashMap::new())) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
use std::collections::HashMap; | ||
use vortex::error::VortexResult; | ||
|
||
use crate::FFORArray; | ||
use vortex::stats::{Stat, StatsCompute, StatsSet}; | ||
|
||
impl StatsCompute for FFORArray { | ||
fn compute(&self, _stat: &Stat) -> StatsSet { | ||
// TODO(ngates): implement based on the encoded array | ||
StatsSet::from(HashMap::new()) | ||
fn compute(&self, _stat: &Stat) -> VortexResult<StatsSet> { | ||
Ok(StatsSet::default()) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
use crate::REEArray; | ||
use vortex::error::VortexResult; | ||
use vortex::stats::{Stat, StatsCompute, StatsSet}; | ||
|
||
impl StatsCompute for REEArray { | ||
fn compute(&self, _stat: &Stat) -> StatsSet { | ||
fn compute(&self, _stat: &Stat) -> VortexResult<StatsSet> { | ||
todo!() | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
use std::collections::HashMap; | ||
use vortex::error::VortexResult; | ||
|
||
use vortex::stats::{Stat, StatsCompute, StatsSet}; | ||
|
||
use crate::zigzag::ZigZagArray; | ||
|
||
impl StatsCompute for ZigZagArray { | ||
fn compute(&self, _stat: &Stat) -> StatsSet { | ||
fn compute(&self, _stat: &Stat) -> VortexResult<StatsSet> { | ||
// TODO(ngates): implement based on the encoded array | ||
StatsSet::from(HashMap::new()) | ||
Ok(StatsSet::from(HashMap::new())) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
use crate::array::sparse::SparseArray; | ||
use crate::error::VortexResult; | ||
use crate::stats::{Stat, StatsCompute, StatsSet}; | ||
|
||
impl StatsCompute for SparseArray { | ||
fn compute(&self, _stat: &Stat) -> StatsSet { | ||
fn compute(&self, _stat: &Stat) -> VortexResult<StatsSet> { | ||
todo!() | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
use crate::array::struct_::StructArray; | ||
use crate::error::VortexResult; | ||
use crate::stats::{Stat, StatsCompute, StatsSet}; | ||
|
||
impl StatsCompute for StructArray { | ||
fn compute(&self, _stat: &Stat) -> StatsSet { | ||
fn compute(&self, _stat: &Stat) -> VortexResult<StatsSet> { | ||
todo!() | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
use crate::array::typed::TypedArray; | ||
use crate::error::VortexResult; | ||
use crate::stats::{Stat, StatsCompute, StatsSet}; | ||
|
||
impl StatsCompute for TypedArray { | ||
fn compute(&self, _stat: &Stat) -> StatsSet { | ||
fn compute(&self, _stat: &Stat) -> VortexResult<StatsSet> { | ||
todo!() | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.