summary refs log tree commit diff
path: root/scripts-dev (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-04-25CommentErik Johnston1-0/+2
2017-04-25Reduce size of joined_user cacheErik Johnston4-11/+40
The _get_joined_users_from_context cache stores a mapping from user_id to avatar_url and display_name. Instead of storing those in a dict, store them in a namedtuple as that uses much less memory. We also try converting the string to ascii to further reduce the size.
2017-04-25Reduce _get_state_group_for_event cache sizeErik Johnston1<