[rust-compiler] Drop the regex dependency from the napi binary (#36727) · react/react@34b78a2 (opens in new tab)
The regex crate services exactly one pattern, the dynamic-gating directive `^use memo if\(([^\)]*)\)$`, while costing ~570KB of `.text` (regex + regex_automata + regex_syntax + aho_corasick) in the...
Read the original article