oxc icon indicating copy to clipboard operation
oxc copied to clipboard

Make `Atom<'a>` and `CompactString` nice and fast

Open Boshen opened this issue 11 months ago • 16 comments

This is a continuation of

  • https://github.com/oxc-project/oxc/pull/2497
  • https://github.com/oxc-project/oxc/issues/2295

Where the requirements are:

Make our own version of Atom<'a> and CompactString.

These 2 types should be immutable and inline-able. The size of these two types (either 16 or 32 bytes) should be dependent on real world statistics of the length of identifiers.

Boshen avatar Feb 26 '24 11:02 Boshen