INNER CODE UNIT · Rust

new

lurk-lab/lurk-beta · chain-server/src/lib.rs:28

    pub fn new(
        rc: usize,
        callable: &Ptr,
        stream_init_callable: Option<&Ptr>,
        store: &Store<F>,
    ) -> Self {
        let mut z_dag = ZDag::default();
        let cache = &mut HashMap::default();
        let callable = z_dag.populate_with(callable, store, cache);
        let stream_init_callable =
            stream_init_callable.map(|x| z_dag.populate_with(x, store, cache));
        Self {
            rc,
            callable,
            stream_init_callable,
            z_dag,
        }
    }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…