QuickMD v1.2.1
Performance & Quality Release
A quality-focused release with significant performance optimizations and code improvements.
Performance Highlights
| Optimization | Impact |
|---|---|
| Cached MarkdownRenderer | -99% allocations per parse |
| Cached syntax highlighting | Zero recomputation on re-render |
| Static regex compilation | 9 patterns, zero runtime compilation |
| Theme caching | Singleton pattern, zero allocations |
Code Quality Improvements
- Zero runtime force unwraps - All URLs moved to compile-time validated constants
- Zero sync network calls - Remote images handled gracefully in PDF export
- Proper logging - Replaced print() with os.Logger
- Consistent patterns - Stored properties instead of computed where appropriate
Audit Results
| Category | Score |
|---|---|
| SwiftUI Performance | 10/10 |
| Code Quality | 10/10 |
| Production Readiness | 10/10 |
Checksum
SHA256 (QuickMD-v1.2.1.zip) = e57d7a208e9c02bbd175792ad1a890296a42916fecce3a532b4a9419d61342c0
Full Changelog: v1.2...v1.2.1