Skip to content

Improve setValue/addItems performance #433

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 1, 2014

Conversation

Scottmitch
Copy link
Contributor

The performance is improved for bulk inserts by delaying the processing of intermediate class updates and caret manipulations. This leads to significant performance improvements as demonstrated by the test case created for #423.

@Scottmitch
Copy link
Contributor Author

To see the performance benefits in the test case swap in this pull request's JS code instead of the master branch.

@brianreavis brianreavis merged commit 0bc0b63 into selectize:master Jun 1, 2014
@brianreavis
Copy link
Member

You're on fire, man! Thanks a bunch for this – looks great.

@Scottmitch
Copy link
Contributor Author

Thanks to you for providing the only drop down hybrid control that could keep up with my use-case. Select2 and Choosen could not get out of their own way when there are "a lot" (>1000) of client side options to choose from. Its unfortunate because these 2 controls are the top hits for a google search.

@Scottmitch Scottmitch deleted the issue_423 branch December 10, 2014 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants