mirror of
https://github.com/discourse/discourse.git
synced 2024-12-18 12:18:44 +08:00
5d1a9a44c6
Why this change? In production, this appeared as a small hotspot as where we're calling `poster.name_and_description` twice which in turns makes a method call to `I18n.t`. When we're rendering a topic list with many topics and each topic has many posters, this repeated and unnecessary method call quickly adds up. |
||
---|---|---|
.. | ||
list.erb | ||
list.rss.erb |