Skip to content

Performance refactor#12

Merged
danleedham merged 2 commits intodevelopfrom
performance-refactor
Feb 8, 2026
Merged

Performance refactor#12
danleedham merged 2 commits intodevelopfrom
performance-refactor

Conversation

@danleedham
Copy link
Contributor

  1. Performance optimizations - Buffer-based string generation, smart compression

- Replace string array with mutable String buffer
- For circles, use cheaper radians conversion arithmetic
- Enable off MainActor use
- buildKMZ() calls kmlString() directly, rather than through buildKML
- No compression for small documents
- Consistent coordinate precision
- Codable IconStyle
- Enable coordinate precision
- Update Example Project
- Update Readme
@danleedham danleedham added this to the 0.6.0 milestone Feb 8, 2026
@danleedham danleedham self-assigned this Feb 8, 2026
@danleedham danleedham merged commit e17f59a into develop Feb 8, 2026
1 check failed
@danleedham danleedham deleted the performance-refactor branch February 8, 2026 14:55
@danleedham danleedham mentioned this pull request Feb 8, 2026
danleedham added a commit that referenced this pull request Feb 8, 2026
* Developer defines OutputFormat (#10)
* Move builder protocol
* Update Readme

* Performance refactor (#12)
- Replace string array with mutable String buffer
- For circles, use cheaper radians conversion arithmetic
- Enable off MainActor use
- buildKMZ() calls kmlString() directly, rather than through buildKML
- No compression for small documents
- Consistent coordinate precision
- Codable IconStyle

* Developer defined coordinate precision
- Enable coordinate precision
- Update Example Project
- Update Readme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant