perf: Make server action pass use `Atom` instead of `String` (#75594)
### What? Use `swc_atoms::Atom` instead of `String` in `next-swc`. ### Why? `Atom` does not allocate if another instance has the same value, meaning that `clone()` is a single atomic operation. But `String` allocates regardless of any other occurrence.
Showing
This diff is collapsed.
Please
register
or
sign in
to comment