{"action":"created","issue":{"url":"https://api.github.com/repos/OpenMS/OpenMS/issues/1406","labels_url":"https://api.github.com/repos/OpenMS/OpenMS/issues/1406/labels{/name}","comments_url":"https://api.github.com/repos/OpenMS/OpenMS/issues/1406/comments","events_url":"https://api.github.com/repos/OpenMS/OpenMS/issues/1406/events","html_url":"https://github.com/OpenMS/OpenMS/issues/1406","id":74330231,"number":1406,"title":"TheoreticalSpectrumGenerator addPeaks inefficient","user":{"login":"timosachsenberg","id":5803621,"avatar_url":"https://avatars.githubusercontent.com/u/5803621?v=3","gravatar_id":"","url":"https://api.github.com/users/timosachsenberg","html_url":"https://github.com/timosachsenberg","followers_url":"https://api.github.com/users/timosachsenberg/followers","following_url":"https://api.github.com/users/timosachsenberg/following{/other_user}","gists_url":"https://api.github.com/users/timosachsenberg/gists{/gist_id}","starred_url":"https://api.github.com/users/timosachsenberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timosachsenberg/subscriptions","organizations_url":"https://api.github.com/users/timosachsenberg/orgs","repos_url":"https://api.github.com/users/timosachsenberg/repos","events_url":"https://api.github.com/users/timosachsenberg/events{/privacy}","received_events_url":"https://api.github.com/users/timosachsenberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jpfeuffer","id":8102638,"avatar_url":"https://avatars.githubusercontent.com/u/8102638?v=3","gravatar_id":"","url":"https://api.github.com/users/jpfeuffer","html_url":"https://github.com/jpfeuffer","followers_url":"https://api.github.com/users/jpfeuffer/followers","following_url":"https://api.github.com/users/jpfeuffer/following{/other_user}","gists_url":"https://api.github.com/users/jpfeuffer/gists{/gist_id}","starred_url":"https://api.github.com/users/jpfeuffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpfeuffer/subscriptions","organizations_url":"https://api.github.com/users/jpfeuffer/orgs","repos_url":"https://api.github.com/users/jpfeuffer/repos","events_url":"https://api.github.com/users/jpfeuffer/events{/privacy}","received_events_url":"https://api.github.com/users/jpfeuffer/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-05-08T11:25:49Z","updated_at":"2015-05-18T09:48:52Z","closed_at":null,"body":"calculating the theoretical spectrum from masses of the individual prefix ions takes O(n²) time.\r\nThis should be directly be done in the theoretical spectrum generator in O(n) time."},"comment":{"url":"https://api.github.com/repos/OpenMS/OpenMS/issues/comments/102998717","html_url":"https://github.com/OpenMS/OpenMS/issues/1406#issuecomment-102998717","issue_url":"https://api.github.com/repos/OpenMS/OpenMS/issues/1406","id":102998717,"user":{"login":"jpfeuffer","id":8102638,"avatar_url":"https://avatars.githubusercontent.com/u/8102638?v=3","gravatar_id":"","url":"https://api.github.com/users/jpfeuffer","html_url":"https://github.com/jpfeuffer","followers_url":"https://api.github.com/users/jpfeuffer/followers","following_url":"https://api.github.com/users/jpfeuffer/following{/other_user}","gists_url":"https://api.github.com/users/jpfeuffer/gists{/gist_id}","starred_url":"https://api.github.com/users/jpfeuffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpfeuffer/subscriptions","organizations_url":"https://api.github.com/users/jpfeuffer/orgs","repos_url":"https://api.github.com/users/jpfeuffer/repos","events_url":"https://api.github.com/users/jpfeuffer/events{/privacy}","received_events_url":"https://api.github.com/users/jpfeuffer/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T09:48:52Z","updated_at":"2015-05-18T09:48:52Z","body":"We think we found another inefficiency, when calculating the loss ions.\r\nCurrently the loss is \"subtracted\" from the formula of the ion and then getMonoWeight is called again.\r\nCan't we just subtract the weight of the loss? Are we missing sth?"}}