Unverified Commit 361d4cf0 authored by Donny/강동윤's avatar Donny/강동윤 Committed by GitHub

perf: Make RSC pass use `Atom` instead of `String` (#75593)

### 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.
parent c1d9a048
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment