1 unstable release

0.4.0 Aug 9, 2022

#46 in #atom

Apache-2.0

12KB
300 lines

[JsWord] is an interned string.

This type should be used instead of [String] for values, because lots of values are duplicated. For example, if an identifier is named myVariable, there will be lots of identifier usages with the value myVariable.

This type

  • makes equality comparison faster.
  • reduces memory usage.

Dependencies

~0.7–6.5MB
~31K SLoC