Repository navigation
refactor(database) :: decode rows into named columns first - #1595
Conversation
lovasoa
left a comment
There was a problem hiding this comment.
Is there a reason for the change? the old implementation sounds cleaner, doesn't it? we don't need to allocate an intermediary vector here
9570169 to
26176ab
Compare
|
This is mostly a refactor to support the feature flagged dialup stratgey. Thread here :: #1597 (comment) |
|
it looks like the refactor does not pay for itself in it's current form. It just creates an intermediary vec that's not needed |
Behavior does not change. Refs #1056
304df7e to
d0d9df0
Compare
d0d9df0 to
54a2320
Compare
|
we can revert if you'd like, I don't mind waiting for more thoughts on this :)
jsut an opinion, but to me this is part of writing readable PRs. I want to take the intermediate fluff and refactors out of the meat and potatos so that we can make sure the important stuff is semantically correct |
|
Yes, refactoring is welcome ! I did keep your extraction of the key-value logic into a separate function, but removed the unneeded allocation of an intermediary vector. 54a2320 |
Behavior does not change.
Refs #1056
Stack created with GitHub Stacks CLI • Give Feedback 💬