{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/ui-select/issues/389","labels_url":"https://api.github.com/repos/angular-ui/ui-select/issues/389/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-select/issues/389/comments","events_url":"https://api.github.com/repos/angular-ui/ui-select/issues/389/events","html_url":"https://github.com/angular-ui/ui-select/issues/389","id":48311631,"number":389,"title":"big array performance issue","user":{"login":"masscrx","id":4611963,"avatar_url":"https://avatars.githubusercontent.com/u/4611963?v=3","gravatar_id":"","url":"https://api.github.com/users/masscrx","html_url":"https://github.com/masscrx","followers_url":"https://api.github.com/users/masscrx/followers","following_url":"https://api.github.com/users/masscrx/following{/other_user}","gists_url":"https://api.github.com/users/masscrx/gists{/gist_id}","starred_url":"https://api.github.com/users/masscrx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masscrx/subscriptions","organizations_url":"https://api.github.com/users/masscrx/orgs","repos_url":"https://api.github.com/users/masscrx/repos","events_url":"https://api.github.com/users/masscrx/events{/privacy}","received_events_url":"https://api.github.com/users/masscrx/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular-ui/ui-select/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/angular-ui/ui-select/labels/performance","name":"performance","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/angular-ui/ui-select/milestones/7","html_url":"https://github.com/angular-ui/ui-select/milestones/0.12.x","labels_url":"https://api.github.com/repos/angular-ui/ui-select/milestones/7/labels","id":749132,"number":7,"title":"0.12.x","description":null,"creator":{"login":"dimirc","id":5034942,"avatar_url":"https://avatars.githubusercontent.com/u/5034942?v=3","gravatar_id":"","url":"https://api.github.com/users/dimirc","html_url":"https://github.com/dimirc","followers_url":"https://api.github.com/users/dimirc/followers","following_url":"https://api.github.com/users/dimirc/following{/other_user}","gists_url":"https://api.github.com/users/dimirc/gists{/gist_id}","starred_url":"https://api.github.com/users/dimirc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimirc/subscriptions","organizations_url":"https://api.github.com/users/dimirc/orgs","repos_url":"https://api.github.com/users/dimirc/repos","events_url":"https://api.github.com/users/dimirc/events{/privacy}","received_events_url":"https://api.github.com/users/dimirc/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":0,"state":"open","created_at":"2014-08-11T02:11:38Z","updated_at":"2015-03-18T00:04:52Z","due_on":null,"closed_at":null},"comments":35,"created_at":"2014-11-10T20:44:34Z","updated_at":"2015-05-17T09:14:29Z","closed_at":null,"body":"Hi,\r\nI have form for customer information, with three fields which use ui-select, every is for selecting country (country array length is 251) when countries array is loaded for ui-select it causes some lag on the page with this data, I've saw that there are some issues open with pagination for far future so now I can resolve my problem by adding checking for minimum input length for example 3 characters, than pagination is made on backend, but when customer is loaded with such information like $scope.customer.country_id I need to load all countries before, so solution with minium input length for 3 characters can't be applied in that case. Some ideas how to achieve that? I was trying to reduce watchers by adding :: to ui-select's expressions (one time binding - Angular 1.3 feauture) but with no result.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/angular-ui/ui-select/issues/comments/102770038","html_url":"https://github.com/angular-ui/ui-select/issues/389#issuecomment-102770038","issue_url":"https://api.github.com/repos/angular-ui/ui-select/issues/389","id":102770038,"user":{"login":"hopewise","id":1061157,"avatar_url":"https://avatars.githubusercontent.com/u/1061157?v=3","gravatar_id":"","url":"https://api.github.com/users/hopewise","html_url":"https://github.com/hopewise","followers_url":"https://api.github.com/users/hopewise/followers","following_url":"https://api.github.com/users/hopewise/following{/other_user}","gists_url":"https://api.github.com/users/hopewise/gists{/gist_id}","starred_url":"https://api.github.com/users/hopewise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hopewise/subscriptions","organizations_url":"https://api.github.com/users/hopewise/orgs","repos_url":"https://api.github.com/users/hopewise/repos","events_url":"https://api.github.com/users/hopewise/events{/privacy}","received_events_url":"https://api.github.com/users/hopewise/received_events","type":"User","site_admin":false},"created_at":"2015-05-17T09:14:29Z","updated_at":"2015-05-17T09:14:29Z","body":"thanks, but it still very slow, I wonder how this custom-select \r\nhttps://github.com/axel-zarate/js-custom-select\r\n is very speedy comparing to select-ui"}}