Files
zulip/zephyr/static/js
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
..
2012-10-04 11:04:25 -04:00
2012-10-04 12:36:59 -04:00
2012-10-15 22:47:41 -04:00
2012-10-04 13:33:59 -04:00
2012-10-16 16:56:21 -04:00