Skip to content
  • Stan Hu's avatar
    Memoize the maximum access level for the author of notes · 5ef022c499e5
    Stan Hu authored
    In #19273, we saw that retrieving ProjectTeam#human_max_access for each
    note takes the bulk of the time when rendering certain issues or merge requests.
    We observe that most of the comments in an issue are typically done by the
    same users. This MR memoizes the max access level by user ID.
    5ef022c499e5