Skip to content

Fix: Optimize ForEach in BlockGridView to improve compilation time #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jchillah
Copy link

@jchillah jchillah commented Mar 2, 2025

  • 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

- 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
Copy link
Author

jchillah commented Mar 2, 2025

Fixes #46 : Optimized BlockGridView to improve compiler performance.

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

@jchillah jchillah closed this Mar 2, 2025
@jchillah jchillah reopened this Mar 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant