vapor / fluent-postgres-driver

🐘 PostgreSQL driver for Fluent.
MIT License
146 stars 53 forks source link

Clean up row decoding #193

Closed gwynne closed 2 years ago

gwynne commented 2 years ago

Instead of duplicating logic implemented by postgres-kit for row decoding - and incorrectly, at that - we now always call through to that logic. Despite the additional indirection through the SQLRow existential, this should yield a minor improvement in performance, as we perform fewer unnecessary checks and retain fewer copies of data.

Note: Depends on vapor/postgres-kit#221 to receive the full benefit of these changes.

VaporBot commented 2 years ago

These changes are now available in 2.2.6