Crate swc_atoms[−][src]
Expand description
JsWord is an interened string.
This type should be used instead of String for values, because lots of
values are duplicated. For example, if an identifer is named myVariable
,
there will be lots of identifier usages with the value myVariable
.
This type
- makes equality comparison faster.
- reduces memory usage.