improve ast symbol handling

This commit is contained in:
nora 2021-12-30 19:42:55 +01:00
parent 145d63e755
commit 1ad5ea7477
6 changed files with 36 additions and 36 deletions

View file

@ -6,7 +6,7 @@ use std::ops::Deref;
use std::ptr::NonNull;
/// imagine interning or something here
pub type Symbol = String;
pub type Symbol<'ast> = bumpalo::collections::String<'ast>;
/// here is the actual interning or something
pub type NewSym = Gc<str>;