mirror of
https://github.com/discourse/discourse.git
synced 2026-08-04 10:39:43 +08:00
* Prevent unnecessary Hash#merge in DefaultsProvider#all_clean, Fixes an unnecessary merge which can sometimes cause performance overhead when calling SiteSetting.defaults_provider.all_clean. We don't need to merge the defaults when locale provided is the same as the default locale * Do not check can_lazy_load_categories? in loop, This is a small perf optimization, we don't need to check can_lazy_load_categories? for every category in the site, which looks at the user's groups and upcoming changes every time, we just need to do it once. |
||
|---|---|---|
| .. | ||
| assets | ||
| controllers | ||
| helpers | ||
| jobs | ||
| mailers | ||
| models | ||
| queries/reports | ||
| serializers | ||
| services | ||
| views | ||