zulip/static
Steve Howell d3e961e179 performance: Improve prefix_sort.
We only convert the query to lowercase outside the
loop for an Nx speedup, where N = number of items.

And then we use startsWith instead of indexOf, which
means we don't senselessly search entire strings
for matches.

(We've had startsWith polyfills for a while now.)

Unfortunately, unless a string start with the
exact casing of the query, we still create an
entire lowercase copy of the string for the case
insensitive match.  For the English use case
(and many other languages), we could further
optimize this by slicing the string before
converting it to lowercase.

Unfortunately, you have languages like German
with the straße/STRASSE problem.  It's not clear
to me how we handle them with the current code,
but I don't want to break that yet.
2020-01-28 13:49:03 +00:00
..
assets styles: Finish removing manual antialiasing configuration. 2019-08-30 14:51:52 -07:00
audio notifications: Add a setting for changing the notification sound. 2018-12-09 21:25:30 -08:00
generated
html 5xx.html: Build with webpack. 2019-10-28 15:53:15 -07:00
images integrations: Add errbit integration. 2020-01-16 15:33:51 -08:00
js performance: Improve prefix_sort. 2020-01-28 13:49:03 +00:00
shared mobile sharing: Extract shared/js/typeahead.js. 2020-01-27 16:32:11 -08:00
styles invite-user: Adjust default size of the emails text area. 2020-01-27 15:37:00 -08:00
templates invite: Fix capitalization for 'receives new stream notifications'. 2020-01-27 17:06:51 -08:00
third dependencies: Remove WebSockets system for sending messages. 2020-01-14 22:34:00 -08:00
.gitignore generate-custom-icon-webfont: Replace with webpack webfonts-loader. 2019-07-18 12:00:00 -07:00
favicon.ico