oxc/crates
Boshen a558492bf9 feat(codegen): implement BinaryExpressionVisitor (#4548)
part of https://github.com/oxc-project/backlog/issues/58

`monitor-oxc` run: https://github.com/oxc-project/monitor-oxc/actions/runs/10179047831
binary expression stack length tally using `counts` in top 100 npm packages from monitor-oxc:

```
29772 counts
(  1)    17652 (59.3%, 59.3%): 0
(  2)     5772 (19.4%, 78.7%): 1
(  3)     3204 (10.8%, 89.4%): 2
(  4)     1276 ( 4.3%, 93.7%): 3
(  5)      616 ( 2.1%, 95.8%): 4
(  6)      308 ( 1.0%, 96.8%): 5
(  7)      202 ( 0.7%, 97.5%): 6
(  8)      168 ( 0.6%, 98.1%): 7
(  9)      114 ( 0.4%, 98.5%): 9
( 10)       90 ( 0.3%, 98.8%): 8
( 11)       84 ( 0.3%, 99.0%): 13
( 12)       58 ( 0.2%, 99.2%): 10
( 13)       48 ( 0.2%, 99.4%): 12
( 14)       32 ( 0.1%, 99.5%): 11
( 15)       20 ( 0.1%, 99.6%): 134
( 16)       16 ( 0.1%, 99.6%): 18
( 17)       16 ( 0.1%, 99.7%): 20
( 18)       12 ( 0.0%, 99.7%): 19
( 19)       12 ( 0.0%, 99.8%): 35
( 20)       12 ( 0.0%, 99.8%): 51
( 21)       10 ( 0.0%, 99.8%): 15
( 22)        6 ( 0.0%, 99.9%): 17
( 23)        6 ( 0.0%, 99.9%): 21
( 24)        6 ( 0.0%, 99.9%): 45
( 25)        4 ( 0.0%, 99.9%): 14
( 26)        4 ( 0.0%, 99.9%): 26
( 27)        4 ( 0.0%, 99.9%): 53
( 28)        2 ( 0.0%, 99.9%): 172
( 29)        2 ( 0.0%, 99.9%): 214
( 30)        2 ( 0.0%,100.0%): 22
( 31)        2 ( 0.0%,100.0%): 27
( 32)        2 ( 0.0%,100.0%): 28
( 33)        2 ( 0.0%,100.0%): 29
( 34)        2 ( 0.0%,100.0%): 31
( 35)        2 ( 0.0%,100.0%): 36
( 36)        2 ( 0.0%,100.0%): 46
( 37)        2 ( 0.0%,100.0%): 55
```
2024-07-31 12:44:19 +00:00
..
oxc Release crates v0.22.1 (#4508) 2024-07-28 09:58:29 +08:00
oxc_allocator Release crates v0.22.1 (#4508) 2024-07-28 09:58:29 +08:00
oxc_ast feat(linter): add eslint/no-unused-vars ( attempt 3.2) (#4445) 2024-07-31 03:22:16 +00:00
oxc_ast_macros Release crates v0.22.1 (#4508) 2024-07-28 09:58:29 +08:00
oxc_cfg Release crates v0.22.1 (#4508) 2024-07-28 09:58:29 +08:00
oxc_codegen feat(codegen): implement BinaryExpressionVisitor (#4548) 2024-07-31 12:44:19 +00:00
oxc_diagnostics Release crates v0.22.1 (#4508) 2024-07-28 09:58:29 +08:00
oxc_index Release crates v0.22.1 (#4508) 2024-07-28 09:58:29 +08:00
oxc_isolated_declarations fix(parser): fix enum member parsing (#4543) 2024-07-30 10:43:09 +00:00
oxc_js_regex
oxc_language_server refactor(linter): use diagnostic codes in lint rules (#4349) 2024-07-20 03:35:00 +00:00
oxc_linter feat(linter): add fix capabilties to existing lint rules (#4560) 2024-07-31 05:39:16 +00:00
oxc_macros feat(linter): support conditional fix capabilities (#4559) 2024-07-31 05:27:16 +00:00
oxc_mangler Release crates v0.22.1 (#4508) 2024-07-28 09:58:29 +08:00
oxc_minifier feat(codegen): implement BinaryExpressionVisitor (#4548) 2024-07-31 12:44:19 +00:00
oxc_module_lexer Release crates v0.22.1 (#4508) 2024-07-28 09:58:29 +08:00
oxc_parser perf(parser): faster decoding unicode escapes in identifiers (#4579) 2024-07-31 03:33:08 +00:00
oxc_prettier chore: remove unsafe_code = "warn" rust lint 2024-07-15 10:39:08 +08:00
oxc_semantic refactor(semantic): move CatchClause scope binding logic to visit_block_statement (#4505) 2024-07-31 03:52:22 +00:00
oxc_sourcemap refactor(sourcemap): align Base64 chars lookup table to cache line (#4535) 2024-07-30 04:28:10 +00:00
oxc_span Release crates v0.22.1 (#4508) 2024-07-28 09:58:29 +08:00
oxc_syntax feat(codegen): implement BinaryExpressionVisitor (#4548) 2024-07-31 12:44:19 +00:00
oxc_transformer fix(parser): fix enum member parsing (#4543) 2024-07-30 10:43:09 +00:00
oxc_traverse fix(parser): fix enum member parsing (#4543) 2024-07-30 10:43:09 +00:00
oxc_wasm refactor(syntax): give ScopeId a niche (#4468) 2024-07-26 00:14:50 +00:00