Skip to content

Commit f72008f

Browse files
committed
more readme clarifications
1 parent 17f58e5 commit f72008f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ This parser was heavily influenced by [CSSTree](https://github.com/csstree/csstr
1515
- **Error recovery** - Continues parsing on malformed CSS
1616
- **Comment preservation** - Comments stored as first-class AST nodes
1717
- **Location tracking** - Line, column, offset, and length for all nodes
18-
- **Built-in vendor prefix detection** - Automatic detection of `-webkit-`, `-moz-`, etc. for selectors, values, properties and more
1918

2019
## Installation
2120

@@ -59,9 +58,9 @@ for (const rule of ast) {
5958

6059
## Performance
6160

62-
- **Tiny install size**
61+
- **Small install size** (~200kB)
6362
- **Zero allocations during parsing** - all memory allocated upfront based on real world heuristics, which also helps prevent garbage collection running often
64-
- **Cache-friendly data layout** - contiguous memory for sequential access powered by concepts or Data Oriented Design
63+
- **Cache-friendly data layout** - contiguous memory for sequential access powered by concepts of Data Oriented Design
6564
- **First-class comment and location support** - while still being performant because analysis requires constant access to lines and columns
6665
- **No syntax validation** - focusing only on the raw data we can skip expensive syntax files and MDN data syncs
6766

@@ -72,6 +71,7 @@ See [API.md](./API.md) for complete documentation of all parser functions and op
7271
## Non-goals
7372

7473
- **No syntax validation** - this parser does not try to validate your CSS structure. Everything can be anything
74+
- **No custom syntax support** - we're leaving the era of CSS preprocessors so we only focus on CSS
7575

7676
## License
7777

0 commit comments

Comments
 (0)