{"action":"created","issue":{"url":"https://api.github.com/repos/adaptlearning/adapt_framework/issues/507","labels_url":"https://api.github.com/repos/adaptlearning/adapt_framework/issues/507/labels{/name}","comments_url":"https://api.github.com/repos/adaptlearning/adapt_framework/issues/507/comments","events_url":"https://api.github.com/repos/adaptlearning/adapt_framework/issues/507/events","html_url":"https://github.com/adaptlearning/adapt_framework/issues/507","id":54610980,"number":507,"title":"Performance related fixes","user":{"login":"oliverfoster","id":7974663,"avatar_url":"https://avatars.githubusercontent.com/u/7974663?v=3","gravatar_id":"","url":"https://api.github.com/users/oliverfoster","html_url":"https://github.com/oliverfoster","followers_url":"https://api.github.com/users/oliverfoster/followers","following_url":"https://api.github.com/users/oliverfoster/following{/other_user}","gists_url":"https://api.github.com/users/oliverfoster/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverfoster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverfoster/subscriptions","organizations_url":"https://api.github.com/users/oliverfoster/orgs","repos_url":"https://api.github.com/users/oliverfoster/repos","events_url":"https://api.github.com/users/oliverfoster/events{/privacy}","received_events_url":"https://api.github.com/users/oliverfoster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-01-16T18:54:26Z","updated_at":"2015-01-19T22:24:16Z","closed_at":null,"body":"Over use of underscore helpers in the core. This leads to an exponential growth of resource requirements when used with course material arrays. I.e. the problem gets more apparent the more course material exists. We need to look at the most used Adapt functions and remove as many utility function calls (such as uneccesary _.each calls) where possible. The core should ideally be as small and fast as possible giving more resources to components and extensions as they are likely to be changed more frequently."},"comment":{"url":"https://api.github.com/repos/adaptlearning/adapt_framework/issues/comments/70572068","html_url":"https://github.com/adaptlearning/adapt_framework/issues/507#issuecomment-70572068","issue_url":"https://api.github.com/repos/adaptlearning/adapt_framework/issues/507","id":70572068,"user":{"login":"oliverfoster","id":7974663,"avatar_url":"https://avatars.githubusercontent.com/u/7974663?v=3","gravatar_id":"","url":"https://api.github.com/users/oliverfoster","html_url":"https://github.com/oliverfoster","followers_url":"https://api.github.com/users/oliverfoster/followers","following_url":"https://api.github.com/users/oliverfoster/following{/other_user}","gists_url":"https://api.github.com/users/oliverfoster/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverfoster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverfoster/subscriptions","organizations_url":"https://api.github.com/users/oliverfoster/orgs","repos_url":"https://api.github.com/users/oliverfoster/repos","events_url":"https://api.github.com/users/oliverfoster/events{/privacy}","received_events_url":"https://api.github.com/users/oliverfoster/received_events","type":"User","site_admin":false},"created_at":"2015-01-19T22:24:16Z","updated_at":"2015-01-19T22:24:16Z","body":"Backbone collections:\n\n```\nfor (var i = 0, length = collection.models.length; i < length; i++) {\n   var model = collection.models[I];\n\n}\n```"}}