{"action":"created","issue":{"url":"https://api.github.com/repos/alimanfoo/numcodecs/issues/5","repository_url":"https://api.github.com/repos/alimanfoo/numcodecs","labels_url":"https://api.github.com/repos/alimanfoo/numcodecs/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/alimanfoo/numcodecs/issues/5/comments","events_url":"https://api.github.com/repos/alimanfoo/numcodecs/issues/5/events","html_url":"https://github.com/alimanfoo/numcodecs/pull/5","id":183273776,"number":5,"title":"ENH: add Pickle/MsgPack codec with support for object ndarrays","user":{"login":"jreback","id":953992,"avatar_url":"https://avatars.githubusercontent.com/u/953992?v=3","gravatar_id":"","url":"https://api.github.com/users/jreback","html_url":"https://github.com/jreback","followers_url":"https://api.github.com/users/jreback/followers","following_url":"https://api.github.com/users/jreback/following{/other_user}","gists_url":"https://api.github.com/users/jreback/gists{/gist_id}","starred_url":"https://api.github.com/users/jreback/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jreback/subscriptions","organizations_url":"https://api.github.com/users/jreback/orgs","repos_url":"https://api.github.com/users/jreback/repos","events_url":"https://api.github.com/users/jreback/events{/privacy}","received_events_url":"https://api.github.com/users/jreback/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-16T15:46:13Z","updated_at":"2016-10-17T10:46:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alimanfoo/numcodecs/pulls/5","html_url":"https://github.com/alimanfoo/numcodecs/pull/5","diff_url":"https://github.com/alimanfoo/numcodecs/pull/5.diff","patch_url":"https://github.com/alimanfoo/numcodecs/pull/5.patch"},"body":"so choosing to raise for non-object ndarray's rather than pickle them. generally other filters will be much more friendly to other dtypes I think.\r\n\r\nadded support for msgpack-python as another filter, similar to Pickle. this is an optional import.\r\n\r\n```\r\nIn [16]: x = np.array(['foo', 'bar', 'baz', np.nan ]*1000000, dtype='object')\r\n\r\nIn [17]: x.shape\r\nOut[17]: (4000000,)\r\n\r\nIn [19]: p = codecs.Pickle()\r\n\r\nIn [20]: m = codecs.MsgPack()\r\n\r\nIn [21]: %timeit p.decode(p.encode(x))\r\n1 loop, best of 3: 657 ms per loop\r\n\r\nIn [22]: %timeit m.decode(m.encode(x))\r\n1 loop, best of 3: 577 ms per loop\r\n```"},"comment":{"url":"https://api.github.com/repos/alimanfoo/numcodecs/issues/comments/254174422","html_url":"https://github.com/alimanfoo/numcodecs/pull/5#issuecomment-254174422","issue_url":"https://api.github.com/repos/alimanfoo/numcodecs/issues/5","id":254174422,"user":{"login":"jreback","id":953992,"avatar_url":"https://avatars.githubusercontent.com/u/953992?v=3","gravatar_id":"","url":"https://api.github.com/users/jreback","html_url":"https://github.com/jreback","followers_url":"https://api.github.com/users/jreback/followers","following_url":"https://api.github.com/users/jreback/following{/other_user}","gists_url":"https://api.github.com/users/jreback/gists{/gist_id}","starred_url":"https://api.github.com/users/jreback/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jreback/subscriptions","organizations_url":"https://api.github.com/users/jreback/orgs","repos_url":"https://api.github.com/users/jreback/repos","events_url":"https://api.github.com/users/jreback/events{/privacy}","received_events_url":"https://api.github.com/users/jreback/received_events","type":"User","site_admin":false},"created_at":"2016-10-17T10:46:13Z","updated_at":"2016-10-17T10:46:13Z","body":"ok updated & I added the protocol paramater."}}
{"actor":{"display_login":"jreback"}}