Skip to content

Unnecessarily calling $.stringify on strings #10031

Open
@benmccann

Description

@benmccann

Describe the bug

$.stringify is called on all template values whether it needs to be or not. This results in larger output and slower performance.

Reproduction

https://svelte-5-preview.vercel.app/#H4sIAAAAAAAAA0WM0QoCIRBFf0WGYAuEerYt6Duyh0VnSXBHccYixH8PH6LHc87lNlhDRAZzb0DLhmDgljNokE8ewC-MgqCBUy1umJldCVmulqxEFOVSJVEXtWNZBPenwy8I8vDTE2NM6p1K9NPZ0nz8H1Abo24JNGzJhzWgByOlYn_0L7HGqhKbAAAA

Logs

No response

System Info

`5.0.0-next.27`

Severity

annoyance

Metadata

Metadata

Assignees

No one assigned

    Labels

    compilerChanges relating to the compilerperf

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions