{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/zstd/issues/408","repository_url":"https://api.github.com/repos/facebook/zstd","labels_url":"https://api.github.com/repos/facebook/zstd/issues/408/labels{/name}","comments_url":"https://api.github.com/repos/facebook/zstd/issues/408/comments","events_url":"https://api.github.com/repos/facebook/zstd/issues/408/events","html_url":"https://github.com/facebook/zstd/issues/408","id":181511052,"number":408,"title":"ZSTD_initCStream is slow","user":{"login":"liewegas","id":433031,"avatar_url":"https://avatars.githubusercontent.com/u/433031?v=3","gravatar_id":"","url":"https://api.github.com/users/liewegas","html_url":"https://github.com/liewegas","followers_url":"https://api.github.com/users/liewegas/followers","following_url":"https://api.github.com/users/liewegas/following{/other_user}","gists_url":"https://api.github.com/users/liewegas/gists{/gist_id}","starred_url":"https://api.github.com/users/liewegas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liewegas/subscriptions","organizations_url":"https://api.github.com/users/liewegas/orgs","repos_url":"https://api.github.com/users/liewegas/repos","events_url":"https://api.github.com/users/liewegas/events{/privacy}","received_events_url":"https://api.github.com/users/liewegas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-06T19:59:34Z","updated_at":"2016-10-07T14:34:51Z","closed_at":null,"body":"In my use case I am compressing relatively small bits of data (10's to 100's of KB at a time), each with a fresh dictionary.  My simple test benchmarks are dominated by ZSTD_initCStream, with 95% CPU time consumed by the memset() call.\r\n\r\nIs this something that can easily optimized?  I can reuse CStreams, but I can't share dictionaries across compressed blobs.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/facebook/zstd/issues/comments/252268922","html_url":"https://github.com/facebook/zstd/issues/408#issuecomment-252268922","issue_url":"https://api.github.com/repos/facebook/zstd/issues/408","id":252268922,"user":{"login":"liewegas","id":433031,"avatar_url":"https://avatars.githubusercontent.com/u/433031?v=3","gravatar_id":"","url":"https://api.github.com/users/liewegas","html_url":"https://github.com/liewegas","followers_url":"https://api.github.com/users/liewegas/followers","following_url":"https://api.github.com/users/liewegas/following{/other_user}","gists_url":"https://api.github.com/users/liewegas/gists{/gist_id}","starred_url":"https://api.github.com/users/liewegas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liewegas/subscriptions","organizations_url":"https://api.github.com/users/liewegas/orgs","repos_url":"https://api.github.com/users/liewegas/repos","events_url":"https://api.github.com/users/liewegas/events{/privacy}","received_events_url":"https://api.github.com/users/liewegas/received_events","type":"User","site_admin":false},"created_at":"2016-10-07T14:34:51Z","updated_at":"2016-10-07T14:34:51Z","body":"Ah, that's much better. Thank you!\n"}}
{"actor":{"display_login":"liewegas"}}