-
Notifications
You must be signed in to change notification settings - Fork 553
Closed
Labels
E-easyDifficulty: might be a good place for a beginnerDifficulty: might be a good place for a beginnerE-help-wantedCall for participation: extra help is wantedCall for participation: extra help is wanted
Description
At the bottom of https://rust-lang.github.io/rustc-guide/the-parser.html, the phrase "interns identifiers" is used. But to me, its meaning wasn't clear on first read-through. I checked in Zulip::/t-compiler/help and got back : "It means that you are not creating a heap allocation for an identifier every time, but instead have a global table where they are stored and deduplicated. You then just need to store the index into the global table whenever you have an identifier" from @oli (oliobk?). It would be helpful to have this explained early on (and maybe a link back to the definition in later uses?)
JOE1994 and amanjeev
Metadata
Metadata
Assignees
Labels
E-easyDifficulty: might be a good place for a beginnerDifficulty: might be a good place for a beginnerE-help-wantedCall for participation: extra help is wantedCall for participation: extra help is wanted