Trait JITArray

Source
pub trait JITArray: ArrayProtocol {
    // Required methods
    fn compile(&self, expression: &str) -> CoreResult<Box<dyn JITFunction>>;
    fn supports_jit(&self) -> bool;
    fn jit_info(&self) -> HashMap<String, String>;
}
Expand description

JIT (Just-In-Time) compilation support for arrays.

Required Methods§

Source

fn compile(&self, expression: &str) -> CoreResult<Box<dyn JITFunction>>

Compile an expression to be evaluated on this array.

Source

fn supports_jit(&self) -> bool

Check if JIT compilation is supported for this array type.

Source

fn jit_info(&self) -> HashMap<String, String>

Get information about the JIT compiler being used.

Implementors§

Source§

impl<T, A> JITArray for JITEnabledArray<T, A>
where T: Send + Sync + 'static, A: ArrayProtocol + Clone + Send + Sync + 'static,