davidstutz/bootstrap-multiselect — pull request #334 by ssidorchick (2014-06-23 19:59:49+00:00)
Title: Improve filter performance.

Filtering performed rather poor for the first query when more than 1000 options. The bottleneck were these lines - `$(element).show().removeClass("filter-hidden");`, `$(element).hide().addClass("filter-hidden");`. So I optimized them by adding `display: none` to class `filter-hidden`. Also most of the condition operations were moved out of the loop, because they didn't depend on option's value.