Zulip 服务器和 Web 应用程序。开源团队聊天可帮助团队保持高效和专注。
Go to file
Waseem Daher b730dc7983 Huge speedup in get_next_visible/get_prev_visible.
nextAll/prevAll walks the entire DOM, basically.
This code only walks the DOM until we find a new .message_row.

This speeds up the average time of a call to this function from about
6.38ms to 0.678ms, in my benchmarking.

Admittedly, the whole outer loop here could still use some
optimization, if we want to; do we really need to call this 1000
times?

(imported from commit 852e2f660a16f8cfd7be35d3271aedb1ac481663)
2012-10-16 17:06:36 -04:00
api Sync messages on Zephyr instances to corresponding humbug stream intelligently. 2012-10-16 14:57:46 -04:00
certs Move humbug-self-signed.crt into a common directory 2012-10-15 13:29:47 -04:00
confirmation Remove expiry; confirmations should never expire. 2012-10-01 10:45:58 -04:00
humbug Rename/reorganize our urls to be more consistent. 2012-10-16 15:56:06 -04:00
servers puppet: Remove humbug from sudoers 2012-10-15 14:56:12 -04:00
templates Rename/reorganize our urls to be more consistent. 2012-10-16 15:56:06 -04:00
tools Make the client reload the page when it detects a server restart 2012-10-16 15:30:41 -04:00
zephyr Huge speedup in get_next_visible/get_prev_visible. 2012-10-16 17:06:36 -04:00
.gitignore Log additionally to a file server.log 2012-10-12 18:01:51 -04:00
manage.py Add manage.py (oops). 2012-08-28 12:45:35 -04:00