Avoid boxing in set! primitive expressions

Description

Currently the clojure compiler always emits values to `set!` expression boxed, and unboxes them if necessary. It is possible to enhance AssignExpr to be a MaybePrimitiveExpr and avoid unnecessary box/unboxing.

Assuming this code:

Before:

After:

Patch: 0001-CLJ-2282-don-t-unnecessarily-box-primitive-set-val.patch

Environment

None

Assignee

Unassigned

Reporter

Nicola Mometto

Labels

Approval

None

Patch

None

Priority

Major
Configure