Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2017-04-25 | Comment | Erik Johnston | 1 | -0/+2 | |
2017-04-25 | Reduce size of joined_user cache | Erik Johnston | 4 | -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. | |||||