diff --git a/crates/oxc_span/README.md b/crates/oxc_span/README.md index e54a083bc4169..ccfe5dc500eea 100644 --- a/crates/oxc_span/README.md +++ b/crates/oxc_span/README.md @@ -11,7 +11,6 @@ This crate provides essential utilities for managing source positions and spans - **Precise positions**: Accurate byte-level source positions - **Span utilities**: Source ranges with start and end positions - **Source type detection**: Automatic language and module detection -- **Atom interning**: Efficient string storage for identifiers - **Content comparison**: Semantic equality for AST nodes ## Architecture @@ -32,14 +31,6 @@ The source type encodes important metadata: - **JSX support**: JSX vs plain syntax - **Variant**: Standard vs definition files (.d.ts) -### Atom Interning - -Atoms provide memory-efficient string storage: - -- **Deduplication**: Identical strings share memory -- **Fast comparison**: Pointer equality for identical content -- **Compact representation**: Reduced memory usage for identifiers - ### Integration Points - **Parser**: Creates spans during tokenization and parsing