mirror of
https://github.com/Noratrieb/dilaria.git
synced 2026-01-15 09:55:03 +01:00
improve ast symbol handling
This commit is contained in:
parent
145d63e755
commit
1ad5ea7477
6 changed files with 36 additions and 36 deletions
|
|
@ -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>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue