Anber / wyw-in-js

MIT License
191 stars 8 forks source link

feat(transform): replace object spread with Proxy in getTagProcessor #57

Closed Anber closed 4 months ago

Anber commented 4 months ago

Motivation

I found out that an object spread can be extremely slow. Even slower than AST traverse and file operations. getTagProcessor now works 10 times faster.

changeset-bot[bot] commented 4 months ago

🦋 Changeset detected

Latest commit: ec799a7191f7debee0407e358c70c6c655185257

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR