I did a research about performance improvements in Codable
. Basically just making everything inlinable
significantly improves the situation, although there are at least two implementation flaws that's impossible to repair. (the first one)
Given how much Codable
code in the wild I'd say it still worth to do.
On the other hand, there are plenty of things that Codable
just doesn't support(like custom converters, or custom encoding primitives). So it also makes sense to design a new system to replace Codable
.
But that's really another topic.
3 Likes