Revert to string concatenation
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 528
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
Made the code generation messier, but regains the ~8% performance hit that tempura Compilers are currently taking.
Also might be for nothing, since most minifiers (esbuild, terser) will just squash the transform() output back into a template literal string anyway.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Locate the tempura Compiler code-generation path and inspect how transform() produces output; compare string concatenation with the current template-literal approach. Done means restoring the proposed performance behavior and verifying the generated output remains correct, including after common minification.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- performance
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100