Skip to content
Snippets Groups Projects
Unverified Commit fa907025 authored by Patrick Cloke's avatar Patrick Cloke Committed by GitHub
Browse files

Remove manys calls to cursor_to_dict (#16431)

This avoids calling cursor_to_dict and then immediately
unpacking the values in the dict for other users. By not
creating the intermediate dictionary we can avoid allocating
the dictionary and strings for the keys, which should generally
be more performant.

Additionally this improves type hints by avoid Dict[str, Any]
dictionaries coming out of the database layer.
parent 4e302b30
No related branches found
No related tags found
Loading
Showing
with 320 additions and 228 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment