222a6b4680
When we build a note URL, and we have the note loaded already, there are two cases: 1. The `noteable` is already loaded. In that case, this is faster as it doesn't build a new AR object from the query. 2. The `noteable` is not already loaded. In that case, this change is no worse than the previous code.
4 lines
106 B
YAML
4 lines
106 B
YAML
---
|
|
title: Improve issue rendering performance with lots of notes from other users
|
|
merge_request:
|
|
author:
|