{"action":"created","issue":{"url":"https://api.github.com/repos/emberjs/data/issues/3124","labels_url":"https://api.github.com/repos/emberjs/data/issues/3124/labels{/name}","comments_url":"https://api.github.com/repos/emberjs/data/issues/3124/comments","events_url":"https://api.github.com/repos/emberjs/data/issues/3124/events","html_url":"https://github.com/emberjs/data/pull/3124","id":82543642,"number":3124,"title":"refactor store managed instances","user":{"login":"fivetanley","id":1275021,"avatar_url":"https://avatars.githubusercontent.com/u/1275021?v=3","gravatar_id":"","url":"https://api.github.com/users/fivetanley","html_url":"https://github.com/fivetanley","followers_url":"https://api.github.com/users/fivetanley/followers","following_url":"https://api.github.com/users/fivetanley/following{/other_user}","gists_url":"https://api.github.com/users/fivetanley/gists{/gist_id}","starred_url":"https://api.github.com/users/fivetanley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fivetanley/subscriptions","organizations_url":"https://api.github.com/users/fivetanley/orgs","repos_url":"https://api.github.com/users/fivetanley/repos","events_url":"https://api.github.com/users/fivetanley/events{/privacy}","received_events_url":"https://api.github.com/users/fivetanley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-29T18:54:01Z","updated_at":"2015-05-29T20:26:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/emberjs/data/pulls/3124","html_url":"https://github.com/emberjs/data/pull/3124","diff_url":"https://github.com/emberjs/data/pull/3124.diff","patch_url":"https://github.com/emberjs/data/pull/3124.patch"},"body":"In this commit, we refactor store managed instance lookups to have its\r\nown class that takes the store's container. This moves a large portion\r\nof code out of the store and instead uses delegation.\r\n\r\nThere's also a performance benefit:\r\n\r\nIf you look up `adapter:post` and fallback to `adapter:application`,\r\nthis lookup is cached. So, if you look up `adapter:post` again, that\r\ninstance will actually be cached. Previously, we did the lookup for\r\n`adapter:post` every time.\r\n\r\nThis also removes passing factories as the `adapter` property to\r\nDS.Store.\r\n\r\ncloses #3050"},"comment":{"url":"https://api.github.com/repos/emberjs/data/issues/comments/106926108","html_url":"https://github.com/emberjs/data/pull/3124#issuecomment-106926108","issue_url":"https://api.github.com/repos/emberjs/data/issues/3124","id":106926108,"user":{"login":"runspired","id":650309,"avatar_url":"https://avatars.githubusercontent.com/u/650309?v=3","gravatar_id":"","url":"https://api.github.com/users/runspired","html_url":"https://github.com/runspired","followers_url":"https://api.github.com/users/runspired/followers","following_url":"https://api.github.com/users/runspired/following{/other_user}","gists_url":"https://api.github.com/users/runspired/gists{/gist_id}","starred_url":"https://api.github.com/users/runspired/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runspired/subscriptions","organizations_url":"https://api.github.com/users/runspired/orgs","repos_url":"https://api.github.com/users/runspired/repos","events_url":"https://api.github.com/users/runspired/events{/privacy}","received_events_url":"https://api.github.com/users/runspired/received_events","type":"User","site_admin":false},"created_at":"2015-05-29T20:26:04Z","updated_at":"2015-05-29T20:26:04Z","body":":D "}}