Struct evm::interpreter::SharedCache [−][src]
pub struct SharedCache { /* fields omitted */ }Global cache for EVM interpreter
Methods
impl SharedCache[src]
impl SharedCachepub fn new(max_size: usize) -> Self[src]
pub fn new(max_size: usize) -> SelfCreate a jump destinations cache with a maximum size in bytes to cache.
pub fn jump_destinations(&self, code_hash: &H256, code: &[u8]) -> Arc<BitSet>[src]
pub fn jump_destinations(&self, code_hash: &H256, code: &[u8]) -> Arc<BitSet>Get jump destinations bitmap for a contract.
Trait Implementations
impl Default for SharedCache[src]
impl Default for SharedCacheAuto Trait Implementations
impl Send for SharedCache
impl Send for SharedCacheimpl Sync for SharedCache
impl Sync for SharedCache