{"action":"created","issue":{"url":"https://api.github.com/repos/bashtage/ng-numpy-randomstate/issues/64","repository_url":"https://api.github.com/repos/bashtage/ng-numpy-randomstate","labels_url":"https://api.github.com/repos/bashtage/ng-numpy-randomstate/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/bashtage/ng-numpy-randomstate/issues/64/comments","events_url":"https://api.github.com/repos/bashtage/ng-numpy-randomstate/issues/64/events","html_url":"https://github.com/bashtage/ng-numpy-randomstate/issues/64","id":165702176,"number":64,"title":"faster ziggurat-like methods","user":{"login":"anntzer","id":1322974,"avatar_url":"https://avatars.githubusercontent.com/u/1322974?v=3","gravatar_id":"","url":"https://api.github.com/users/anntzer","html_url":"https://github.com/anntzer","followers_url":"https://api.github.com/users/anntzer/followers","following_url":"https://api.github.com/users/anntzer/following{/other_user}","gists_url":"https://api.github.com/users/anntzer/gists{/gist_id}","starred_url":"https://api.github.com/users/anntzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anntzer/subscriptions","organizations_url":"https://api.github.com/users/anntzer/orgs","repos_url":"https://api.github.com/users/anntzer/repos","events_url":"https://api.github.com/users/anntzer/events{/privacy}","received_events_url":"https://api.github.com/users/anntzer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-15T03:04:58Z","updated_at":"2016-07-15T10:24:00Z","closed_at":null,"body":"You may want to have a look at https://bitbucket.org/cdmcfarland/fast_prng/ which implements a ziggurat-like generator that is ~10x faster than the one present here for exponential variates and ~3x faster for normal variates."},"comment":{"url":"https://api.github.com/repos/bashtage/ng-numpy-randomstate/issues/comments/232916841","html_url":"https://github.com/bashtage/ng-numpy-randomstate/issues/64#issuecomment-232916841","issue_url":"https://api.github.com/repos/bashtage/ng-numpy-randomstate/issues/64","id":232916841,"user":{"login":"bashtage","id":5585221,"avatar_url":"https://avatars.githubusercontent.com/u/5585221?v=3","gravatar_id":"","url":"https://api.github.com/users/bashtage","html_url":"https://github.com/bashtage","followers_url":"https://api.github.com/users/bashtage/followers","following_url":"https://api.github.com/users/bashtage/following{/other_user}","gists_url":"https://api.github.com/users/bashtage/gists{/gist_id}","starred_url":"https://api.github.com/users/bashtage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bashtage/subscriptions","organizations_url":"https://api.github.com/users/bashtage/orgs","repos_url":"https://api.github.com/users/bashtage/repos","events_url":"https://api.github.com/users/bashtage/events{/privacy}","received_events_url":"https://api.github.com/users/bashtage/received_events","type":"User","site_admin":false},"created_at":"2016-07-15T10:24:00Z","updated_at":"2016-07-15T10:24:00Z","body":"Some quick benchmarks for normal in Python.  Generating 1000000\r\n```\r\nfast-prng: 70ms\r\nrandomstate (mt19937): 135ms\r\nrandomstate (dsfmt): 35ms\r\nrandomstate (xoroshiro): 23ms\r\n```\r\n\r\nThe mt19937 in randomstate cannot change due to upstream compatibility.  This said, the implementation in randomstate when using a good core PRNG is already 3 times faster than fast-prng.\r\n\r\n"}}
{"actor":{"display_login":"bashtage"}}