{"action":"created","issue":{"url":"https://api.github.com/repos/scalaz/scalaz/issues/1839","repository_url":"https://api.github.com/repos/scalaz/scalaz","labels_url":"https://api.github.com/repos/scalaz/scalaz/issues/1839/labels{/name}","comments_url":"https://api.github.com/repos/scalaz/scalaz/issues/1839/comments","events_url":"https://api.github.com/repos/scalaz/scalaz/issues/1839/events","html_url":"https://github.com/scalaz/scalaz/issues/1839","id":328093372,"node_id":"MDU6SXNzdWUzMjgwOTMzNzI=","number":1839,"title":"Abstract over Inject","user":{"login":"fommil","id":1914041,"node_id":"MDQ6VXNlcjE5MTQwNDE=","avatar_url":"https://avatars2.githubusercontent.com/u/1914041?v=4","gravatar_id":"","url":"https://api.github.com/users/fommil","html_url":"https://github.com/fommil","followers_url":"https://api.github.com/users/fommil/followers","following_url":"https://api.github.com/users/fommil/following{/other_user}","gists_url":"https://api.github.com/users/fommil/gists{/gist_id}","starred_url":"https://api.github.com/users/fommil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fommil/subscriptions","organizations_url":"https://api.github.com/users/fommil/orgs","repos_url":"https://api.github.com/users/fommil/repos","events_url":"https://api.github.com/users/fommil/events{/privacy}","received_events_url":"https://api.github.com/users/fommil/received_events","type":"User","site_admin":false},"labels":[{"id":949876947,"node_id":"MDU6TGFiZWw5NDk4NzY5NDc=","url":"https://api.github.com/repos/scalaz/scalaz/labels/scalaz7","name":"scalaz7","color":"874e4c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-31T11:01:23Z","updated_at":"2018-05-31T14:28:15Z","closed_at":null,"author_association":"MEMBER","body":"There are faster encodings of the `S[_]` algebra parameter to `Free` out there that have less object allocations and faster runtime switching, e.g. https://github.com/frees-io/iota ([perf charts here](http://frees.io/docs/optimizations/))\r\n\r\nIf we had an abstraction over how we inject, e.g.\r\nhttps://github.com/frees-io/freestyle/blob/master/modules/core/shared/src/main/scala/freestyle/free/InjK.scala then it would make it a lot easier for users of scalaz to swap out their `Coproduct` encodings to something more performant.\r\n\r\nIn this ticket it would be good to add the abstraction, and to change `.liftF` things to use the abstraction instead of hardcoded to `Coproduct`, e.g. if #1837 is merged.\r\n\r\nIn scalaz8 we could just have the fast encoding built it.\r\n\r\n// @raulraja @diesalbla @andyscott"},"comment":{"url":"https://api.github.com/repos/scalaz/scalaz/issues/comments/393548790","html_url":"https://github.com/scalaz/scalaz/issues/1839#issuecomment-393548790","issue_url":"https://api.github.com/repos/scalaz/scalaz/issues/1839","id":393548790,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzU0ODc5MA==","user":{"login":"fommil","id":1914041,"node_id":"MDQ6VXNlcjE5MTQwNDE=","avatar_url":"https://avatars2.githubusercontent.com/u/1914041?v=4","gravatar_id":"","url":"https://api.github.com/users/fommil","html_url":"https://github.com/fommil","followers_url":"https://api.github.com/users/fommil/followers","following_url":"https://api.github.com/users/fommil/following{/other_user}","gists_url":"https://api.github.com/users/fommil/gists{/gist_id}","starred_url":"https://api.github.com/users/fommil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fommil/subscriptions","organizations_url":"https://api.github.com/users/fommil/orgs","repos_url":"https://api.github.com/users/fommil/repos","events_url":"https://api.github.com/users/fommil/events{/privacy}","received_events_url":"https://api.github.com/users/fommil/received_events","type":"User","site_admin":false},"created_at":"2018-05-31T14:28:15Z","updated_at":"2018-05-31T14:28:15Z","author_association":"MEMBER","body":"btw, we recently unsealed `Inject` ... nobody objected but it hasn't been released yet https://github.com/scalaz/scalaz/pull/1775"}}
{"actor":{"display_login":"fommil"}}