Conversation
…oints, decode in Dispatchers.Default
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review infoConfiguration used: Repository UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (5)
WalkthroughThis PR replaces Mutex-based manual caching with a new suspendLazy utility across four repository files. A new SuspendLazyProperty class is introduced, providing thread-safe lazy initialization for suspend functions using double-checked locking. BootstrapRepository, BoxIconsRepository, LucideRepository, and RemixRepository are refactored to use suspendLazy for caching font bytes and codepoints. RemixRepository additionally manages SVG metadata and version information through the new utility. Public API signatures remain mostly unchanged, with RemixRepository adding loadFontBytes() as a new public method. Explicit Mutex imports and synchronization blocks are removed from all repositories. 🚥 Pre-merge checks | ✅ 1 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
📝 Changelog
If this PR introduces user-facing changes, please update the relevant Unreleased section in changelogs: