christophhagen / BinaryCodable

A binary encoder for Swift Codable types
MIT License
92 stars 7 forks source link

Improve performance for large properties #21

Closed christophhagen closed 6 months ago

christophhagen commented 6 months ago

Resolves issue #20.

The issue seems to come from copying Data elements multiple times during encoding, which adds a huge performance penalty when large properties are involved.