Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions crates/oxc_span/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Loading