{"action":"opened","issue":{"url":"https://api.github.com/repos/igas/faker/issues/58","repository_url":"https://api.github.com/repos/igas/faker","labels_url":"https://api.github.com/repos/igas/faker/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/igas/faker/issues/58/comments","events_url":"https://api.github.com/repos/igas/faker/issues/58/events","html_url":"https://github.com/igas/faker/issues/58","id":170961649,"number":58,"title":"Should not try to randomly access a list","user":{"login":"uri","id":676443,"avatar_url":"https://avatars.githubusercontent.com/u/676443?v=3","gravatar_id":"","url":"https://api.github.com/users/uri","html_url":"https://github.com/uri","followers_url":"https://api.github.com/users/uri/followers","following_url":"https://api.github.com/users/uri/following{/other_user}","gists_url":"https://api.github.com/users/uri/gists{/gist_id}","starred_url":"https://api.github.com/users/uri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uri/subscriptions","organizations_url":"https://api.github.com/users/uri/orgs","repos_url":"https://api.github.com/users/uri/repos","events_url":"https://api.github.com/users/uri/events{/privacy}","received_events_url":"https://api.github.com/users/uri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-12T21:21:29Z","updated_at":"2016-08-12T21:21:29Z","closed_at":null,"body":"It seems like the core mechanism is this library is to use the `sampler` macro to define a function that access a giant ***list*** at a random index. Lists are not meant for random access, they are slow and your access time is linear.\r\n\r\nKeeping inline with the current mechanism, the sampler macro should be provided a giant *tuple* instead of a list. The macro itself would need to use `elem` to access the tuple instead of `[]`."}}
{"actor":{"display_login":"uri"}}