{"action":"created","issue":{"url":"https://api.github.com/repos/cameron314/readerwriterqueue/issues/22","labels_url":"https://api.github.com/repos/cameron314/readerwriterqueue/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/cameron314/readerwriterqueue/issues/22/comments","events_url":"https://api.github.com/repos/cameron314/readerwriterqueue/issues/22/events","html_url":"https://github.com/cameron314/readerwriterqueue/issues/22","id":114069943,"number":22,"title":"Feature request: add capacity() method","user":{"login":"neomantra","id":26842,"avatar_url":"https://avatars.githubusercontent.com/u/26842?v=3","gravatar_id":"","url":"https://api.github.com/users/neomantra","html_url":"https://github.com/neomantra","followers_url":"https://api.github.com/users/neomantra/followers","following_url":"https://api.github.com/users/neomantra/following{/other_user}","gists_url":"https://api.github.com/users/neomantra/gists{/gist_id}","starred_url":"https://api.github.com/users/neomantra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neomantra/subscriptions","organizations_url":"https://api.github.com/users/neomantra/orgs","repos_url":"https://api.github.com/users/neomantra/repos","events_url":"https://api.github.com/users/neomantra/events{/privacy}","received_events_url":"https://api.github.com/users/neomantra/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cameron314/readerwriterqueue/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-29T15:06:40Z","updated_at":"2015-10-29T15:11:17Z","closed_at":null,"body":"Expose a method which calculates the number of items that can be pushed on an empty queue without allocation.\r\n\r\nThis is useful for tuning purposes -- e.g. upon destruction one can compare initial to final queue capacities."},"comment":{"url":"https://api.github.com/repos/cameron314/readerwriterqueue/issues/comments/152209629","html_url":"https://github.com/cameron314/readerwriterqueue/issues/22#issuecomment-152209629","issue_url":"https://api.github.com/repos/cameron314/readerwriterqueue/issues/22","id":152209629,"user":{"login":"cameron314","id":116235,"avatar_url":"https://avatars.githubusercontent.com/u/116235?v=3","gravatar_id":"","url":"https://api.github.com/users/cameron314","html_url":"https://github.com/cameron314","followers_url":"https://api.github.com/users/cameron314/followers","following_url":"https://api.github.com/users/cameron314/following{/other_user}","gists_url":"https://api.github.com/users/cameron314/gists{/gist_id}","starred_url":"https://api.github.com/users/cameron314/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cameron314/subscriptions","organizations_url":"https://api.github.com/users/cameron314/orgs","repos_url":"https://api.github.com/users/cameron314/repos","events_url":"https://api.github.com/users/cameron314/events{/privacy}","received_events_url":"https://api.github.com/users/cameron314/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T15:11:17Z","updated_at":"2015-10-29T15:11:17Z","body":"Good idea. Might take me a little while to get around to it, though (sorry!)."}}