[][src]Trait pleco::tools::PreFetchable

pub trait PreFetchable {
    fn prefetch(&self, key: u64);

    fn prefetch2(&self, key: u64) { ... }
}

Allows an object to have it's entries pre-fetchable.

Required methods

fn prefetch(&self, key: u64)

Pre-fetches a particular key. This means bringing it into the cache for faster access.

Loading content...

Provided methods

fn prefetch2(&self, key: u64)

Pre-fetches a particular key, alongside the next key.

Loading content...

Implementors

impl PreFetchable for TranspositionTable[src]

fn prefetch(&self, key: u64)[src]

Pre-fetches a particular key. This means bringing it into the cache for faster eventual access.

fn prefetch2(&self, key: u64)[src]

Loading content...