Skip to content

RFC: The Future of ZippyJSON #69

@michaeleisel

Description

@michaeleisel

From my benchmarking, JSONDecoder performs similarly (and often a bit faster) than ZippyJSON for iOS version 17+. For my users, I'm curious if there are still use cases where using ZippyJSON over JSONDecoder is desirable once they've set their minimum version to 17+ (cases where it's still faster, etc.). Otherwise, I will probably put up a notice informing people about Apple's new JSONDecoder performance, and in a few years when every app is on 17+, archive the repo. To all who see this issue, feel free to comment with your thoughts!

As a side note, I would love to take this as a challenge to optimize my project more and still provide a large speed boost over Apple's latest and greatest, but a lot of the overhead now seems to be concentrated in Swift runtime overhead, with stuff like protocol conformance lookups. This is, I think, why Apple's version and mine are now similar, and I imagine neither will change much now unless the runtime performance changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions