Skip to content
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

New format #15

Merged
merged 20 commits into from
Apr 2, 2024
Merged

New format #15

merged 20 commits into from
Apr 2, 2024

Conversation

christophhagen
Copy link
Owner

This PR adds a new binary format and backing implementation for the next major release.

The code is less complex, and contains fewer edge cases.

The new format is a bit less efficient in some cases, but supports all features of the codable protocol, including providing the number of elements in unkeyed containers.

The new format also fixes the compatibility with SIMD types (#14).

The new binary format is detailed in the BinaryFormat.md document.

Migration options from the previous format are stated in the readme, including a new readme to import a swift package that can decode the old format.

@christophhagen christophhagen self-assigned this Apr 2, 2024
@christophhagen christophhagen merged commit 5b52fc2 into master Apr 2, 2024
6 checks passed
@christophhagen christophhagen deleted the new-format branch April 2, 2024 15:14
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