{"comment":{"url":"https://api.github.com/repos/concrete5/concrete5-legacy/comments/14559132","html_url":"https://github.com/concrete5/concrete5-legacy/commit/57f065bb6352bcba77fac019754bd676019d2b47#commitcomment-14559132","id":14559132,"user":{"login":"JohntheFish","id":1260106,"avatar_url":"https://avatars.githubusercontent.com/u/1260106?v=3","gravatar_id":"","url":"https://api.github.com/users/JohntheFish","html_url":"https://github.com/JohntheFish","followers_url":"https://api.github.com/users/JohntheFish/followers","following_url":"https://api.github.com/users/JohntheFish/following{/other_user}","gists_url":"https://api.github.com/users/JohntheFish/gists{/gist_id}","starred_url":"https://api.github.com/users/JohntheFish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohntheFish/subscriptions","organizations_url":"https://api.github.com/users/JohntheFish/orgs","repos_url":"https://api.github.com/users/JohntheFish/repos","events_url":"https://api.github.com/users/JohntheFish/events{/privacy}","received_events_url":"https://api.github.com/users/JohntheFish/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"57f065bb6352bcba77fac019754bd676019d2b47","created_at":"2015-11-23T12:47:36Z","updated_at":"2015-11-23T12:47:36Z","body":"Package::getByHandle makes a database query to find an installed package, then calls Loader::package to load the package if it is found. So just calling Loader::package is theoretically more efficient, especially if a package is installed. On the other hand, Package::getByHandle is more efficient if a package is not installed."}}