{"action":"closed","issue":{"url":"https://api.github.com/repos/pingcap/tidb/issues/1788","repository_url":"https://api.github.com/repos/pingcap/tidb","labels_url":"https://api.github.com/repos/pingcap/tidb/issues/1788/labels{/name}","comments_url":"https://api.github.com/repos/pingcap/tidb/issues/1788/comments","events_url":"https://api.github.com/repos/pingcap/tidb/issues/1788/events","html_url":"https://github.com/pingcap/tidb/issues/1788","id":180225434,"number":1788,"title":"memdb randHeight function can be improved","user":{"login":"tiancaiamao","id":1420062,"avatar_url":"https://avatars.githubusercontent.com/u/1420062?v=3","gravatar_id":"","url":"https://api.github.com/users/tiancaiamao","html_url":"https://github.com/tiancaiamao","followers_url":"https://api.github.com/users/tiancaiamao/followers","following_url":"https://api.github.com/users/tiancaiamao/following{/other_user}","gists_url":"https://api.github.com/users/tiancaiamao/gists{/gist_id}","starred_url":"https://api.github.com/users/tiancaiamao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiancaiamao/subscriptions","organizations_url":"https://api.github.com/users/tiancaiamao/orgs","repos_url":"https://api.github.com/users/tiancaiamao/repos","events_url":"https://api.github.com/users/tiancaiamao/events{/privacy}","received_events_url":"https://api.github.com/users/tiancaiamao/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-30T05:52:08Z","updated_at":"2016-10-13T03:53:09Z","closed_at":"2016-10-13T03:53:09Z","body":"inspired by http://stackoverflow.com/questions/22892120/how-to-generate-a-random-string-of-a-fixed-length-in-golang\r\n\r\nin the code `rand.Int() % 4`, a random int can be use several times by use parts of their bits each time, thus reduce the need of calling rand.Int()"}}
{"actor":{"display_login":"coocood"}}