-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: generic symbol graph #317
refactor: generic symbol graph #317
Conversation
pub struct RootSymbol<'a> { | ||
module_graph: &'a ModuleGraph, | ||
parser: &'a CapturingModuleParser<'a>, | ||
specifiers_to_ids: AdditiveOnlyMap<ModuleSpecifier, ModuleId>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not ideal performance-wise to store the ModuleId boxed here (internally in AdditiveOnlyMap). I will fix this in a future PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but why remove is_public
field from Symbol
?
@bartlomieju it no longer does "tracing" so it doesn't figure that out. The |
Example update in deno_doc: denoland/deno_doc#387
Closes #316