Please sign in to comment.
Precalculate a map of column names -> column indices
This allows us to avoid using Array#index to map names to indices, which requires N**2 comparisons between column names to fully hydrate a row. Performance improvements are considerable for large result rows.
- Loading branch information...