zulip/zulip
Voir sur GitHubOptimize topic cache calculation for rendering `near`/`with` links in automated notices after moving topics.
Open
#33 276 ouverte le 31 janv. 2025
area: message-editing (topics)area: performancehelp wanted
Description
This requires #30644 to be merged. See https://github.com/zulip/zulip/pull/30644#discussion_r1785332141 for details, but we might be able to use message IDs we just generated to prepopulate the topic cache to avoid extra queries when moving messages.
It might not be worth it; the queries are cheap and it would be potentially messy plumbing. I won't be certain until I see what the plumbing needs to look like.
But given that message-moving is a high importance code path that already has a lot of queries, it could be worth it.