{"action":"opened","number":159,"pull_request":{"url":"https://api.github.com/repos/rainwoodman/MP-Gadget/pulls/159","id":149916213,"html_url":"https://github.com/rainwoodman/MP-Gadget/pull/159","diff_url":"https://github.com/rainwoodman/MP-Gadget/pull/159.diff","patch_url":"https://github.com/rainwoodman/MP-Gadget/pull/159.patch","issue_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/issues/159","number":159,"state":"open","locked":false,"title":"SlotsManager","user":{"login":"rainwoodman","id":138060,"avatar_url":"https://avatars0.githubusercontent.com/u/138060?v=4","gravatar_id":"","url":"https://api.github.com/users/rainwoodman","html_url":"https://github.com/rainwoodman","followers_url":"https://api.github.com/users/rainwoodman/followers","following_url":"https://api.github.com/users/rainwoodman/following{/other_user}","gists_url":"https://api.github.com/users/rainwoodman/gists{/gist_id}","starred_url":"https://api.github.com/users/rainwoodman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rainwoodman/subscriptions","organizations_url":"https://api.github.com/users/rainwoodman/orgs","repos_url":"https://api.github.com/users/rainwoodman/repos","events_url":"https://api.github.com/users/rainwoodman/events{/privacy}","received_events_url":"https://api.github.com/users/rainwoodman/received_events","type":"User","site_admin":false},"body":"    The SlotsManager module deals with the slots.\r\n\r\n    I wrote a simpler version of realloc. since it only works on the last item, the operation can be built with dealloc and alloc. Also properly handled the vaarg.\r\n\r\n    All 6 particle types now can have their own secondary slots. This is declared in slot_init(). All specilized treatments are eliminated ; except bh and sfr_eff which may need additional API from slotsmanager to cleanup.\r\n\r\n    GC should be slightly faster (if compiler optimization does its work) now that we only loop over NumPart once. code may need some refactoring -- to many if's conditioning on whether a slot type is enabled.\r\n\r\n    old names, SphP, BhP StarP are now macros. Variable version of these are internally maintained by slotsmanager -- for debugging, prefixed with GDB_\r\n\r\n    slots_fork() handles the consistency of secondary slots and base.\r\n\r\n    the strange throttling code is removed -- without it the code works just fine. It seems to handle an extremely low memory case (package > limit) where we shall probably just crash anyways.\r\n","created_at":"2017-10-31T21:47:07Z","updated_at":"2017-10-31T21:47:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/pulls/159/commits","review_comments_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/pulls/159/comments","review_comment_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/issues/159/comments","statuses_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/statuses/65e2334b43d5bbee4a93772511d29dbd8b8c6397","head":{"label":"rainwoodman:sbird-starmalloc2","ref":"sbird-starmalloc2","sha":"65e2334b43d5bbee4a93772511d29dbd8b8c6397","user":{"login":"rainwoodman","id":138060,"avatar_url":"https://avatars0.githubusercontent.com/u/138060?v=4","gravatar_id":"","url":"https://api.github.com/users/rainwoodman","html_url":"https://github.com/rainwoodman","followers_url":"https://api.github.com/users/rainwoodman/followers","following_url":"https://api.github.com/users/rainwoodman/following{/other_user}","gists_url":"https://api.github.com/users/rainwoodman/gists{/gist_id}","starred_url":"https://api.github.com/users/rainwoodman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rainwoodman/subscriptions","organizations_url":"https://api.github.com/users/rainwoodman/orgs","repos_url":"https://api.github.com/users/rainwoodman/repos","events_url":"https://api.github.com/users/rainwoodman/events{/privacy}","received_events_url":"https://api.github.com/users/rainwoodman/received_events","type":"User","site_admin":false},"repo":{"id":24486904,"name":"MP-Gadget","full_name":"rainwoodman/MP-Gadget","owner":{"login":"rainwoodman","id":138060,"avatar_url":"https://avatars0.githubusercontent.com/u/138060?v=4","gravatar_id":"","url":"https://api.github.com/users/rainwoodman","html_url":"https://github.com/rainwoodman","followers_url":"https://api.github.com/users/rainwoodman/followers","following_url":"https://api.github.com/users/rainwoodman/following{/other_user}","gists_url":"https://api.github.com/users/rainwoodman/gists{/gist_id}","starred_url":"https://api.github.com/users/rainwoodman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rainwoodman/subscriptions","organizations_url":"https://api.github.com/users/rainwoodman/orgs","repos_url":"https://api.github.com/users/rainwoodman/repos","events_url":"https://api.github.com/users/rainwoodman/events{/privacy}","received_events_url":"https://api.github.com/users/rainwoodman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rainwoodman/MP-Gadget","description":"massively-parallel cosmology simulator ","fork":false,"url":"https://api.github.com/repos/rainwoodman/MP-Gadget","forks_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/forks","keys_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/teams","hooks_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/hooks","issue_events_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/issues/events{/number}","events_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/events","assignees_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/assignees{/user}","branches_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/branches{/branch}","tags_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/tags","blobs_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/git/refs{/sha}","trees_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/statuses/{sha}","languages_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/languages","stargazers_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/stargazers","contributors_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/contributors","subscribers_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/subscribers","subscription_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/subscription","commits_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/commits{/sha}","git_commits_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/git/commits{/sha}","comments_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/comments{/number}","issue_comment_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/issues/comments{/number}","contents_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/contents/{+path}","compare_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/merges","archive_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/downloads","issues_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/issues{/number}","pulls_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/pulls{/number}","milestones_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/milestones{/number}","notifications_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/labels{/name}","releases_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/releases{/id}","deployments_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/deployments","created_at":"2014-09-26T05:02:22Z","updated_at":"2017-02-21T02:45:06Z","pushed_at":"2017-10-31T21:06:47Z","git_url":"git://github.com/rainwoodman/MP-Gadget.git","ssh_url":"git@github.com:rainwoodman/MP-Gadget.git","clone_url":"https://github.com/rainwoodman/MP-Gadget.git","svn_url":"https://github.com/rainwoodman/MP-Gadget","homepage":null,"size":8685,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":27,"forks":3,"open_issues":27,"watchers":0,"default_branch":"master"}},"base":{"label":"rainwoodman:master","ref":"master","sha":"5aee811138502676ff559428a79723c94078603c","user":{"login":"rainwoodman","id":138060,"avatar_url":"https://avatars0.githubusercontent.com/u/138060?v=4","gravatar_id":"","url":"https://api.github.com/users/rainwoodman","html_url":"https://github.com/rainwoodman","followers_url":"https://api.github.com/users/rainwoodman/followers","following_url":"https://api.github.com/users/rainwoodman/following{/other_user}","gists_url":"https://api.github.com/users/rainwoodman/gists{/gist_id}","starred_url":"https://api.github.com/users/rainwoodman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rainwoodman/subscriptions","organizations_url":"https://api.github.com/users/rainwoodman/orgs","repos_url":"https://api.github.com/users/rainwoodman/repos","events_url":"https://api.github.com/users/rainwoodman/events{/privacy}","received_events_url":"https://api.github.com/users/rainwoodman/received_events","type":"User","site_admin":false},"repo":{"id":24486904,"name":"MP-Gadget","full_name":"rainwoodman/MP-Gadget","owner":{"login":"rainwoodman","id":138060,"avatar_url":"https://avatars0.githubusercontent.com/u/138060?v=4","gravatar_id":"","url":"https://api.github.com/users/rainwoodman","html_url":"https://github.com/rainwoodman","followers_url":"https://api.github.com/users/rainwoodman/followers","following_url":"https://api.github.com/users/rainwoodman/following{/other_user}","gists_url":"https://api.github.com/users/rainwoodman/gists{/gist_id}","starred_url":"https://api.github.com/users/rainwoodman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rainwoodman/subscriptions","organizations_url":"https://api.github.com/users/rainwoodman/orgs","repos_url":"https://api.github.com/users/rainwoodman/repos","events_url":"https://api.github.com/users/rainwoodman/events{/privacy}","received_events_url":"https://api.github.com/users/rainwoodman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rainwoodman/MP-Gadget","description":"massively-parallel cosmology simulator ","fork":false,"url":"https://api.github.com/repos/rainwoodman/MP-Gadget","forks_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/forks","keys_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/teams","hooks_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/hooks","issue_events_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/issues/events{/number}","events_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/events","assignees_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/assignees{/user}","branches_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/branches{/branch}","tags_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/tags","blobs_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/git/refs{/sha}","trees_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/statuses/{sha}","languages_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/languages","stargazers_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/stargazers","contributors_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/contributors","subscribers_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/subscribers","subscription_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/subscription","commits_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/commits{/sha}","git_commits_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/git/commits{/sha}","comments_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/comments{/number}","issue_comment_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/issues/comments{/number}","contents_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/contents/{+path}","compare_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/merges","archive_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/downloads","issues_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/issues{/number}","pulls_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/pulls{/number}","milestones_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/milestones{/number}","notifications_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/labels{/name}","releases_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/releases{/id}","deployments_url":"https://api.github.com/repos/rainwoodman/MP-Gadget/deployments","created_at":"2014-09-26T05:02:22Z","updated_at":"2017-02-21T02:45:06Z","pushed_at":"2017-10-31T21:06:47Z","git_url":"git://github.com/rainwoodman/MP-Gadget.git","ssh_url":"git@github.com:rainwoodman/MP-Gadget.git","clone_url":"https://github.com/rainwoodman/MP-Gadget.git","svn_url":"https://github.com/rainwoodman/MP-Gadget","homepage":null,"size":8685,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":27,"forks":3,"open_issues":27,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rainwoodman/MP-Gadget/pulls/159"},"html":{"href":"https://github.com/rainwoodman/MP-Gadget/pull/159"},"issue":{"href":"https://api.github.com/repos/rainwoodman/MP-Gadget/issues/159"},"comments":{"href":"https://api.github.com/repos/rainwoodman/MP-Gadget/issues/159/comments"},"review_comments":{"href":"https://api.github.com/repos/rainwoodman/MP-Gadget/pulls/159/comments"},"review_comment":{"href":"https://api.github.com/repos/rainwoodman/MP-Gadget/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rainwoodman/MP-Gadget/pulls/159/commits"},"statuses":{"href":"https://api.github.com/repos/rainwoodman/MP-Gadget/statuses/65e2334b43d5bbee4a93772511d29dbd8b8c6397"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":43,"additions":1078,"deletions":937,"changed_files":43}}
{"actor":{"display_login":"rainwoodman"}}