sphinx/
runtime.rs

1use ahash::{self, AHasher};
2// use rustc_hash::FxHasher;
3
4mod variant;
5pub mod strings;
6pub mod types;
7pub mod gc;
8pub mod vm;
9pub mod function;
10pub mod iter;
11pub mod module;
12pub mod errors;
13
14mod tests;
15
16pub use gc::Gc;
17pub use vm::VirtualMachine;
18pub use strings::STRING_TABLE;
19pub use variant::{Variant, VariantKey};
20pub use module::Module;
21pub use errors::{RuntimeError, ExecResult};
22
23// Default Hasher
24
25pub type DefaultHasher = AHasher;
26pub type DefaultBuildHasher = ahash::RandomState;
27pub type HashMap<K, V> = std::collections::HashMap<K,V, DefaultBuildHasher>;