mirror of
https://github.com/Noratrieb/dilaria.git
synced 2026-01-15 18:05:03 +01:00
start bytecode compilation
This commit is contained in:
parent
b35d12e041
commit
c6765d7da6
14 changed files with 342 additions and 46 deletions
9
src/value.rs
Normal file
9
src/value.rs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/// imagine interning or something here
|
||||
pub type Symbol = String;
|
||||
|
||||
#[cfg(not(feature = "fxhash"))]
|
||||
#[allow(clippy::disallowed_type)]
|
||||
pub type HashMap<K, V> = std::collections::HashMap<K, V>;
|
||||
|
||||
#[cfg(feature = "fxhash")]
|
||||
pub type HashMap<K, V> = rustc_hash::FxHashMap<K, V>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue