mirror of
https://github.com/zulip/zulip.git
synced 2025-11-18 12:54:58 +00:00
Unfortunately, this doesn't actually give us much performance gain either; it's not really the calls to 'find' that are taking any time. But I do find this a little cleaner as well. Simply initializing 100 colorpickers with our options takes about 700ms. Initializing ~100 colorpickers with the total default set of options shaves that down to about 300-400ms (though obviously doesn't quite achieve what we want). (imported from commit 7084b35fb6e77600edfcdcfcc2761a11e6f38c03)