Improve loc_id performance
Closed this issue · 1 comments
phyrog commented
In a lot of cases, the locid of something is queried in a separate query. By preloading the locid for all models that have a locid we can hopefully improve the overall performance (e.g. every use of LinkHelper#fancy_link
requires the locid, so for a list of 3000 things with links, we currently need 1+3000 queries).