forked-synapse/synapse/push
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
..
__init__.py Remove manys calls to cursor_to_dict (#16431) 2023-10-05 11:07:38 -04:00
bulk_push_rule_evaluator.py Return immutable objects for cachedList decorators (#16350) 2023-09-19 15:26:44 -04:00
clientformat.py push rules: fix internal conversion from _type to value (#15781) 2023-06-16 14:17:02 +02:00
emailpusher.py Some refactors around receipts stream (#16426) 2023-10-04 16:28:40 +01:00
httppusher.py Some refactors around receipts stream (#16426) 2023-10-04 16:28:40 +01:00
mailer.py Add the List-Unsubscribe header for notification emails. (#16274) 2023-09-11 09:49:48 -04:00
presentable_names.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
push_tools.py Fix push for invites received over federation (#15820) 2023-07-12 11:02:11 +00:00
push_types.py Improved push typing (#11409) 2021-11-30 11:49:20 +00:00
pusher.py Use direct references for some configuration variables (part 3) (#10885) 2021-09-23 07:13:34 -04:00
pusherpool.py Some refactors around receipts stream (#16426) 2023-10-04 16:28:40 +01:00
rulekinds.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00