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

perf: Make barrel optimizer use `Atom` instead of `String` (#75592)

### 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 f998bdb4
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