Skip to content

Conversation

@gwynne
Copy link
Member

@gwynne gwynne commented Mar 18, 2022

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.

… clean up the corresponding API at this layer to call through instead of half-reimplementing (incorrectly) the same logic.
@gwynne gwynne added enhancement New feature or request semver-patch Internal changes only labels Mar 18, 2022
@gwynne gwynne requested review from 0xTim and calebkleveter March 18, 2022 14:53
@gwynne gwynne self-assigned this Mar 18, 2022
@gwynne gwynne merged commit 7c266b5 into main Mar 18, 2022
@gwynne gwynne deleted the cleanup-row-decoding branch March 18, 2022 21:22
@VaporBot
Copy link

These changes are now available in 2.2.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request semver-patch Internal changes only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants