{"action":"closed","issue":{"url":"https://api.github.com/repos/select2/select2/issues/3230","labels_url":"https://api.github.com/repos/select2/select2/issues/3230/labels{/name}","comments_url":"https://api.github.com/repos/select2/select2/issues/3230/comments","events_url":"https://api.github.com/repos/select2/select2/issues/3230/events","html_url":"https://github.com/select2/select2/issues/3230","id":66155460,"number":3230,"title":"Bad performance when using data array","user":{"login":"megahallon","id":1074596,"avatar_url":"https://avatars.githubusercontent.com/u/1074596?v=3","gravatar_id":"","url":"https://api.github.com/users/megahallon","html_url":"https://github.com/megahallon","followers_url":"https://api.github.com/users/megahallon/followers","following_url":"https://api.github.com/users/megahallon/following{/other_user}","gists_url":"https://api.github.com/users/megahallon/gists{/gist_id}","starred_url":"https://api.github.com/users/megahallon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megahallon/subscriptions","organizations_url":"https://api.github.com/users/megahallon/orgs","repos_url":"https://api.github.com/users/megahallon/repos","events_url":"https://api.github.com/users/megahallon/events{/privacy}","received_events_url":"https://api.github.com/users/megahallon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-03T14:23:42Z","updated_at":"2015-04-06T02:00:23Z","closed_at":"2015-04-06T02:00:23Z","body":"Recent changes made using data array very slow. As mentioned in the comment on commit b9b55ce the change from push to add on jquery arrays is the reason for the performance drop. When using push I can easily use an array of 5000 elements, with add it takes so long time I can't even be bothered to wait for it. I am using the jQuery included in the select2 archive (2.1.0)."}}