Files
zulip/static/js
Steve Howell 8190cdc9fb Avoid redundant O(N) work in unfade_messages()..
The code in unfade_messages() is O(N) over the number of
messages, but a simple flag allows us to track the fact that
all messages are unfaded, so we can short circuit the O(N)
logic in many cases.

A typical scenario now would be that you start typing a
stream while the topic is still empty.  Modulo debouncing,
every keystroke now leads to a call to unfade_messages(),
but this change only does real work the first time.

(imported from commit da07cf408bbdbf5b381ff3ec33a5e05e34eef5b5)
2013-08-11 17:05:13 -04:00
..
2013-07-29 12:11:26 -04:00
2013-07-30 12:12:59 -04:00
2013-07-30 12:12:58 -04:00
2013-07-30 12:12:58 -04:00
2013-08-11 15:57:21 -04:00
2013-07-30 12:12:58 -04:00
2013-07-30 12:12:58 -04:00
2013-07-30 12:12:58 -04:00
2013-08-11 15:57:21 -04:00
2013-07-30 12:12:58 -04:00
2013-08-11 17:05:13 -04:00
2013-08-08 18:22:44 -04:00
2013-08-08 13:04:01 -04:00
2013-07-29 12:11:26 -04:00
2013-07-29 12:11:26 -04:00
2013-07-30 12:12:58 -04:00
2013-08-09 17:12:23 -04:00
2013-08-11 17:05:13 -04:00