SwiftUI icon indicating copy to clipboard operation
SwiftUI copied to clipboard

Fix: Optimize ForEach in BlockGridView to improve compilation time

Open jchillah opened this issue 9 months ago • 1 comments

  • Moved map operation outside ForEach to reduce compiler complexity
  • Used indices instead of direct iteration to optimize performance
  • Ensured better type-checking and improved readability
  • Fixed SwiftUI rendering issue related to dynamic block creation

jchillah avatar Mar 02 '25 23:03 jchillah

Fixes #46 : Optimized BlockGridView to improve compiler performance.

  • Extracted mapping operation outside of ForEach
  • Reduced type-checking complexity

jchillah avatar Mar 02 '25 23:03 jchillah