{"action":"created","issue":{"url":"https://api.github.com/repos/JabRef/jabref/issues/1100","repository_url":"https://api.github.com/repos/JabRef/jabref","labels_url":"https://api.github.com/repos/JabRef/jabref/issues/1100/labels{/name}","comments_url":"https://api.github.com/repos/JabRef/jabref/issues/1100/comments","events_url":"https://api.github.com/repos/JabRef/jabref/issues/1100/events","html_url":"https://github.com/JabRef/jabref/pull/1100","id":145811778,"number":1100,"title":"Fast search","user":{"login":"simonharrer","id":375693,"avatar_url":"https://avatars.githubusercontent.com/u/375693?v=3","gravatar_id":"","url":"https://api.github.com/users/simonharrer","html_url":"https://github.com/simonharrer","followers_url":"https://api.github.com/users/simonharrer/followers","following_url":"https://api.github.com/users/simonharrer/following{/other_user}","gists_url":"https://api.github.com/users/simonharrer/gists{/gist_id}","starred_url":"https://api.github.com/users/simonharrer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonharrer/subscriptions","organizations_url":"https://api.github.com/users/simonharrer/orgs","repos_url":"https://api.github.com/users/simonharrer/repos","events_url":"https://api.github.com/users/simonharrer/events{/privacy}","received_events_url":"https://api.github.com/users/simonharrer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JabRef/jabref/labels/enhancement","name":"enhancement","color":"6AC46A"},{"url":"https://api.github.com/repos/JabRef/jabref/labels/ready-for-review","name":"ready-for-review","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/JabRef/jabref/milestones/6","html_url":"https://github.com/JabRef/jabref/milestones/v3.3","labels_url":"https://api.github.com/repos/JabRef/jabref/milestones/6/labels","id":1491548,"number":6,"title":"v3.3","description":"","creator":{"login":"koppor","id":1366654,"avatar_url":"https://avatars.githubusercontent.com/u/1366654?v=3","gravatar_id":"","url":"https://api.github.com/users/koppor","html_url":"https://github.com/koppor","followers_url":"https://api.github.com/users/koppor/followers","following_url":"https://api.github.com/users/koppor/following{/other_user}","gists_url":"https://api.github.com/users/koppor/gists{/gist_id}","starred_url":"https://api.github.com/users/koppor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koppor/subscriptions","organizations_url":"https://api.github.com/users/koppor/orgs","repos_url":"https://api.github.com/users/koppor/repos","events_url":"https://api.github.com/users/koppor/events{/privacy}","received_events_url":"https://api.github.com/users/koppor/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":38,"state":"open","created_at":"2016-01-08T14:44:29Z","updated_at":"2016-04-06T08:58:12Z","due_on":"2016-04-14T22:00:00Z","closed_at":null},"comments":3,"created_at":"2016-04-04T21:36:48Z","updated_at":"2016-04-06T09:52:02Z","closed_at":"2016-04-06T08:43:35Z","pull_request":{"url":"https://api.github.com/repos/JabRef/jabref/pulls/1100","html_url":"https://github.com/JabRef/jabref/pull/1100","diff_url":"https://github.com/JabRef/jabref/pull/1100.diff","patch_url":"https://github.com/JabRef/jabref/pull/1100.patch"},"body":"- Fix performance bug which caused the UI to slow down extremely\r\n\r\nSearch is now blazingly fast (compared to before)\r\n- New class MainTableDataModel which holds all sorted and filtered lists plus sorting and filtering logic.\r\n- If a search is still active while entering a new search term, the previous search is cancelled. This improves search time quite a lot.\r\n- By filtering after the sorting, the search is extremely fast as the amount of sorting is reduced dramatically\r\n- Using \"filter\" search should be now the fastest search, as no sorting has to take place\r\n\r\nIssues\r\n- [x] bugs using the float search (but filter works as expected)\r\n- [x] remove sysout statement\r\n- [x] tests fail as the mode of the database is written back directly to the file\r\n\r\nPlease try this out. \r\n\r\nRelated\r\n- #1094 as this improves performance of the main table (but without numbers)\r\n- #1034 may no longer be required to be fixed in #1037"},"comment":{"url":"https://api.github.com/repos/JabRef/jabref/issues/comments/206268663","html_url":"https://github.com/JabRef/jabref/pull/1100#issuecomment-206268663","issue_url":"https://api.github.com/repos/JabRef/jabref/issues/1100","id":206268663,"user":{"login":"tobiasdiez","id":5037600,"avatar_url":"https://avatars.githubusercontent.com/u/5037600?v=3","gravatar_id":"","url":"https://api.github.com/users/tobiasdiez","html_url":"https://github.com/tobiasdiez","followers_url":"https://api.github.com/users/tobiasdiez/followers","following_url":"https://api.github.com/users/tobiasdiez/following{/other_user}","gists_url":"https://api.github.com/users/tobiasdiez/gists{/gist_id}","starred_url":"https://api.github.com/users/tobiasdiez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobiasdiez/subscriptions","organizations_url":"https://api.github.com/users/tobiasdiez/orgs","repos_url":"https://api.github.com/users/tobiasdiez/repos","events_url":"https://api.github.com/users/tobiasdiez/events{/privacy}","received_events_url":"https://api.github.com/users/tobiasdiez/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T09:52:02Z","updated_at":"2016-04-06T09:52:02Z","body":"Running the benchmarks with this PR merged in shows that the writing speed was improved by an additional factor of 10 (being now at roughly 60k entries per second). Good job :+1: "}}