{"action":"opened","issue":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/366","labels_url":"https://api.github.com/repos/chrsmith/bwapi/issues/366/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/bwapi/issues/366/comments","events_url":"https://api.github.com/repos/chrsmith/bwapi/issues/366/events","html_url":"https://github.com/chrsmith/bwapi/issues/366","id":58654763,"number":366,"title":"Boost Unit Finder performance","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Component-Logic","name":"Component-Logic","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Component-Persistence","name":"Component-Persistence","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Maintainability","name":"Maintainability","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Milestone-Release","name":"Milestone-Release","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Performance","name":"Performance","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Priority-High","name":"Priority-High","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Type-Enhancement","name":"Type-Enhancement","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Usability","name":"Usability","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-23T21:49:47Z","updated_at":"2015-02-23T21:49:47Z","closed_at":"2015-02-23T21:49:47Z","body":"```\ngetUnitsIn* functions are pretty slow.\n\nI'm not sure if it's being called several times a frame or if std::set is the \nbottleneck, but apparently something is causing it to be insanely slow.\n\nPerhaps trading vectors for arrays will help.\n```\n\n-----\nOriginal issue reported on code.google.com by `AHeinerm` on 28 Mar 2011 at 2:19"}}