This website requires JavaScript.
Explore
Help
Sign in
mirrors
/
synapse
Watch
1
Star
0
Fork
You've already forked synapse
0
mirror of
https://github.com/element-hq/synapse.git
synced
2024-12-14 11:57:44 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
3
26b960b08b
synapse
/
changelog.d
/
16429.misc
2 lines
27 B
Text
Raw
Normal View
History
Unescape
Escape
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 15:07:38 +00:00
Reduce memory allocations.
Reference in a new issue
Copy permalink