Cached process lookups with lunatic.

When a process is lookup, it is cached in the local process to avoid unnecessery future lookups. This is useful for globally registered processes and abstract processes.

Example

```rust use lunatic::{spawnlink, test}; use lunaticcachedprocess::{cachedprocess, CachedLookup, ProcessCached};

cachedprocess! { static COUNTERPROCESS: ProcessCached<()> = "counter-process"; }

let process = spawn_link!(|mailbox: Mailbox<()>| { loop { } }); process.register("counter-process");

let lookup: Option> = COUNTERPROCESS.get(); // First call lookup process from host assert!(lookup.issome());

let lookup: Option> = COUNTERPROCESS.get(); // Subsequent calls will use cached process assert!(lookup.issome()); ```

License

Licensed under either

at your option.