forked-synapse/synapse/storage/databases
Patrick Cloke fa907025f4
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.
2023-10-05 11:07:38 -04:00
..
main Remove manys calls to cursor_to_dict (#16431) 2023-10-05 11:07:38 -04:00
state Improve comments in StateGroupBackgroundUpdateStore. (#16383) 2023-09-25 18:50:47 +00:00
__init__.py Check databases/__init__ and main/cache with mypy. (#15496) 2023-04-27 07:59:14 -04:00