{"action":"opened","issue":{"url":"https://api.github.com/repos/RoaringBitmap/RoaringBitmap/issues/186","repository_url":"https://api.github.com/repos/RoaringBitmap/RoaringBitmap","labels_url":"https://api.github.com/repos/RoaringBitmap/RoaringBitmap/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/RoaringBitmap/RoaringBitmap/issues/186/comments","events_url":"https://api.github.com/repos/RoaringBitmap/RoaringBitmap/issues/186/events","html_url":"https://github.com/RoaringBitmap/RoaringBitmap/issues/186","id":257382467,"number":186,"title":"Get random element from set","user":{"login":"ljwagerfield","id":3638917,"avatar_url":"https://avatars3.githubusercontent.com/u/3638917?v=4","gravatar_id":"","url":"https://api.github.com/users/ljwagerfield","html_url":"https://github.com/ljwagerfield","followers_url":"https://api.github.com/users/ljwagerfield/followers","following_url":"https://api.github.com/users/ljwagerfield/following{/other_user}","gists_url":"https://api.github.com/users/ljwagerfield/gists{/gist_id}","starred_url":"https://api.github.com/users/ljwagerfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljwagerfield/subscriptions","organizations_url":"https://api.github.com/users/ljwagerfield/orgs","repos_url":"https://api.github.com/users/ljwagerfield/repos","events_url":"https://api.github.com/users/ljwagerfield/events{/privacy}","received_events_url":"https://api.github.com/users/ljwagerfield/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-13T13:34:45Z","updated_at":"2017-09-13T13:34:45Z","closed_at":null,"author_association":"NONE","body":"What's the most efficient way to implement something like `RoaringBitmap.random()`?\r\n\r\nFor example, `RoaringBitmap.first()` and `RoaringBitmap.last()` return the smallest and largest elements... but how would you obtain a random element?\r\n\r\nThanks in advance!"}}
{"actor":{"display_login":"ljwagerfield"}}