mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 23:43:43 +00:00
Rather than calling the template generating code once per subscription, let's just do it in a batch when possible. With about 100 subscriptions, the "fetch" call takes about 800ms to render (while testing locally) both before and after this change, which is somewhat disappointing. But this *is* cleaner! (imported from commit 9ba8819524da86c00a2508349be0ea0ddd48606b)