Skip to content

More advanced transient detection #744

@borkdude

Description

@borkdude

With multiple passes we can make this work:

(let [x {}] ;; now x is potentially shared (barring better analysis of let body)
           ;; so we are not allowed to mutate it, falling back to object spread
           (assoc x :a 1))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions