MatrixSynapse/synapse/storage
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
..
controllers Add a cache around server ACL checking (#16360) 2023-09-26 11:57:50 -04:00
databases Remove manys calls to cursor_to_dict (#16431) 2023-10-05 11:07:38 -04:00
engines Delete device messages asynchronously and in staged batches (#16240) 2023-09-06 09:30:53 +02:00
schema Some minor performance fixes for task schedular (#16313) 2023-09-14 16:20:47 +01:00
util Combine AbstractStreamIdTracker and AbstractStreamIdGenerator. (#15192) 2023-03-03 08:13:37 -05:00
__init__.py
_base.py Clear event caches when we purge history (#15609) 2023-06-08 13:14:40 +01:00
background_updates.py Add support for pydantic v2 via pydantic.v1 compat module (#16332) 2023-09-25 15:19:08 +00:00
database.py Bump types-psycopg2 from 2.9.21.11 to 2.9.21.14 (#16381) 2023-09-25 17:48:42 +01:00
keys.py Add cache to `get_server_keys_json_for_remote` (#16123) 2023-08-18 11:05:01 +01:00
prepare_database.py Run pyupgrade for python 3.7 & 3.8. (#16110) 2023-08-15 08:11:20 -04:00
push_rule.py
roommember.py mypy plugin to check `@cached` return types (#14911) 2023-10-02 14:22:36 +00:00
types.py Bump types-psycopg2 from 2.9.21.11 to 2.9.21.14 (#16381) 2023-09-25 17:48:42 +01:00