pub struct UltraFastLoader {
pub loaded_count: usize,
pub duplicate_count: usize,
pub error_count: usize,
/* private fields */
}Expand description
Ultra-fast loader specifically designed for massive datasets (100k-10M+ positions) Uses aggressive optimizations: memory mapping, parallel processing, bloom filters
Fields§
§loaded_count: usize§duplicate_count: usize§error_count: usizeImplementations§
Source§impl UltraFastLoader
impl UltraFastLoader
pub fn new_for_massive_datasets() -> Self
Sourcepub fn ultra_load_binary<P: AsRef<Path>>(
&mut self,
path: P,
engine: &mut ChessVectorEngine,
) -> Result<(), Box<dyn Error>>
pub fn ultra_load_binary<P: AsRef<Path>>( &mut self, path: P, engine: &mut ChessVectorEngine, ) -> Result<(), Box<dyn Error>>
Ultra-fast binary loader with memory mapping and parallel processing
Sourcepub fn get_stats(&self) -> LoadingStats
pub fn get_stats(&self) -> LoadingStats
Get loading statistics
Auto Trait Implementations§
impl Freeze for UltraFastLoader
impl RefUnwindSafe for UltraFastLoader
impl Send for UltraFastLoader
impl Sync for UltraFastLoader
impl Unpin for UltraFastLoader
impl UnwindSafe for UltraFastLoader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more