Rearchitecting JSONEncoder to be much faster

Interesting, that makes sense. Indeed, I've generally found the Swift runtime to be the main bottleneck in ZippyJSON. The meat and bones of ZippyJSON crossing into C/C++ is around here, and the functions it calls are defined in this repo.

Why is that? Doesn’t the compiler know everything it needs to at compile time?

2 Likes