Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(ast,parser): use u32 for node spans #31

Merged
merged 1 commit into from
Feb 21, 2023
Merged

refactor(ast,parser): use u32 for node spans #31

merged 1 commit into from
Feb 21, 2023

Conversation

Boshen
Copy link
Member

@Boshen Boshen commented Feb 21, 2023

The next PR will fix the jargon where Node = Span.

relates to #9

The next PR will fix the jargon where Node = Span.

relates to #9
@Boshen Boshen added this to the AST / Lexer / Parser milestone Feb 21, 2023
@github-actions
Copy link
Contributor

Parser Benchmark Results

group                    main                                   pr
-----                    ----                                   --
parser/babylon.max.js    1.04    129.8±5.06ms    79.6 MB/sec    1.00    125.1±4.43ms    82.5 MB/sec
parser/d3.js             1.01     16.2±0.65ms    33.6 MB/sec    1.00     16.0±0.71ms    34.1 MB/sec
parser/lodash.js         1.05      4.7±0.21ms   108.9 MB/sec    1.00      4.5±0.24ms   113.8 MB/sec
parser/pdf.js            1.02      9.2±0.38ms    43.8 MB/sec    1.00      9.0±0.41ms    44.7 MB/sec
parser/typescript.js     1.03    130.0±4.89ms    74.0 MB/sec    1.00    126.0±5.54ms    76.4 MB/sec

@Boshen Boshen merged commit a733856 into main Feb 21, 2023
@Boshen Boshen deleted the node-u32 branch February 21, 2023 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant