cadence icon indicating copy to clipboard operation
cadence copied to clipboard

[Compiler] Optimize conversion between static and sema types

Open RZhang05 opened this issue 4 months ago • 1 comments

Avoid conversions where possible. Improve caching.

Possible approaches:

  • [ ] Re-use static-type conversion results from compiler/ previous executions. See https://github.com/onflow/cadence/pull/4054#discussion_r2172847539
  • [ ] #3691
  • [ ] Avoid static to sema type conversion when boxing (ConvertAndBox) [moved from https://github.com/onflow/cadence/issues/3804]

RZhang05 avatar Oct 09 '25 15:10 RZhang05

Related: https://github.com/onflow/cadence/pull/4054 (particularly https://github.com/onflow/cadence/pull/4054#discussion_r2172847539)

SupunS avatar Oct 10 '25 17:10 SupunS