{"action":"closed","number":335,"pull_request":{"url":"https://api.github.com/repos/metaeducation/ren-c/pulls/335","id":94473548,"html_url":"https://github.com/metaeducation/ren-c/pull/335","diff_url":"https://github.com/metaeducation/ren-c/pull/335.diff","patch_url":"https://github.com/metaeducation/ren-c/pull/335.patch","issue_url":"https://api.github.com/repos/metaeducation/ren-c/issues/335","number":335,"state":"closed","locked":false,"title":"Working implementation of stack-frame GC'd pairings","user":{"login":"hostilefork","id":20440,"avatar_url":"https://avatars.githubusercontent.com/u/20440?v=3","gravatar_id":"","url":"https://api.github.com/users/hostilefork","html_url":"https://github.com/hostilefork","followers_url":"https://api.github.com/users/hostilefork/followers","following_url":"https://api.github.com/users/hostilefork/following{/other_user}","gists_url":"https://api.github.com/users/hostilefork/gists{/gist_id}","starred_url":"https://api.github.com/users/hostilefork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hostilefork/subscriptions","organizations_url":"https://api.github.com/users/hostilefork/orgs","repos_url":"https://api.github.com/users/hostilefork/repos","events_url":"https://api.github.com/users/hostilefork/events{/privacy}","received_events_url":"https://api.github.com/users/hostilefork/received_events","type":"User","site_admin":false},"body":"When it was made possible for \"singular\" Rebol Arrays to hold a value\r\ninside the REBSER node itself (and still act as terminated), this\r\nmade it more feasible to use these singular arrays as a way of\r\ngenerically getting GC behavior for small REBVAL-sized items.  This\r\nwas used in places like function bodies, or to make a form of HANDLE!\r\nthat could participate in GC.\r\n\r\nAnother place where lifetime management for individual REBVAL-sized\r\nthings would be helpful is the external C API (or \"RL_API\").  Before it\r\nspoke in terms of proxy REBVALs called \"RXIARG\"s which had no design\r\nfor their lifetime.  If the REBVALs used in the API lived inside of\r\nsomething like a singular REBSER, they could participate in GC, and\r\nhave their lifetime attached to something like the lifetime of the\r\nfunction frame that requested them.\r\n\r\nAlthough a singular array could be used for this purpose, the singular\r\narray has a property that's not really needed...which is to have\r\ntermination via an END marker.  The REBVAL is isolated and does not\r\nhave to appear as a BLOCK! of values.  This raised the possibility of\r\ncoming up with another layout for the bits inside the REBSER...which\r\ncould actually lay two entire REBVALs inside of a REBSER node.\r\n\r\nThis new structure (known as a \"pairing\") meant the API exposed values\r\ncould also have a \"meta value\".  This value could be anything from an\r\nINTEGER! reference count, to a HANDLE!, to a FRAME! of the function\r\nwhich--when it is done running--should indicate the garbage collection\r\nof the value and its pointer.  But also, it gave a reusable \"exactly\r\ntwo values long\" form of series that could be used with very little\r\noverhead--and which would be unlikely to fragment memory, because the\r\nsize was the commonly-used size of a REBSER.\r\n\r\nThis commit goes ahead and makes the FRAME!-based GC of these values\r\nwork (it was just pseudocode before).","created_at":"2016-11-19T07:03:51Z","updated_at":"2016-11-19T07:54:15Z","closed_at":"2016-11-19T07:54:15Z","merged_at":"2016-11-19T07:54:15Z","merge_commit_sha":"bca655a4fb992c3a8f83a65223a77aec41b84861","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/metaeducation/ren-c/pulls/335/commits","review_comments_url":"https://api.github.com/repos/metaeducation/ren-c/pulls/335/comments","review_comment_url":"https://api.github.com/repos/metaeducation/ren-c/pulls/comments{/number}","comments_url":"https://api.github.com/repos/metaeducation/ren-c/issues/335/comments","statuses_url":"https://api.github.com/repos/metaeducation/ren-c/statuses/bca655a4fb992c3a8f83a65223a77aec41b84861","head":{"label":"hostilefork:stack-frame-pairing","ref":"stack-frame-pairing","sha":"bca655a4fb992c3a8f83a65223a77aec41b84861","user":{"login":"hostilefork","id":20440,"avatar_url":"https://avatars.githubusercontent.com/u/20440?v=3","gravatar_id":"","url":"https://api.github.com/users/hostilefork","html_url":"https://github.com/hostilefork","followers_url":"https://api.github.com/users/hostilefork/followers","following_url":"https://api.github.com/users/hostilefork/following{/other_user}","gists_url":"https://api.github.com/users/hostilefork/gists{/gist_id}","starred_url":"https://api.github.com/users/hostilefork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hostilefork/subscriptions","organizations_url":"https://api.github.com/users/hostilefork/orgs","repos_url":"https://api.github.com/users/hostilefork/repos","events_url":"https://api.github.com/users/hostilefork/events{/privacy}","received_events_url":"https://api.github.com/users/hostilefork/received_events","type":"User","site_admin":false},"repo":{"id":7182655,"name":"rebol","full_name":"hostilefork/rebol","owner":{"login":"hostilefork","id":20440,"avatar_url":"https://avatars.githubusercontent.com/u/20440?v=3","gravatar_id":"","url":"https://api.github.com/users/hostilefork","html_url":"https://github.com/hostilefork","followers_url":"https://api.github.com/users/hostilefork/followers","following_url":"https://api.github.com/users/hostilefork/following{/other_user}","gists_url":"https://api.github.com/users/hostilefork/gists{/gist_id}","starred_url":"https://api.github.com/users/hostilefork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hostilefork/subscriptions","organizations_url":"https://api.github.com/users/hostilefork/orgs","repos_url":"https://api.github.com/users/hostilefork/repos","events_url":"https://api.github.com/users/hostilefork/events{/privacy}","received_events_url":"https://api.github.com/users/hostilefork/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hostilefork/rebol","description":"Source code for the Rebol interpreter","fork":true,"url":"https://api.github.com/repos/hostilefork/rebol","forks_url":"https://api.github.com/repos/hostilefork/rebol/forks","keys_url":"https://api.github.com/repos/hostilefork/rebol/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hostilefork/rebol/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hostilefork/rebol/teams","hooks_url":"https://api.github.com/repos/hostilefork/rebol/hooks","issue_events_url":"https://api.github.com/repos/hostilefork/rebol/issues/events{/number}","events_url":"https://api.github.com/repos/hostilefork/rebol/events","assignees_url":"https://api.github.com/repos/hostilefork/rebol/assignees{/user}","branches_url":"https://api.github.com/repos/hostilefork/rebol/branches{/branch}","tags_url":"https://api.github.com/repos/hostilefork/rebol/tags","blobs_url":"https://api.github.com/repos/hostilefork/rebol/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hostilefork/rebol/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hostilefork/rebol/git/refs{/sha}","trees_url":"https://api.github.com/repos/hostilefork/rebol/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hostilefork/rebol/statuses/{sha}","languages_url":"https://api.github.com/repos/hostilefork/rebol/languages","stargazers_url":"https://api.github.com/repos/hostilefork/rebol/stargazers","contributors_url":"https://api.github.com/repos/hostilefork/rebol/contributors","subscribers_url":"https://api.github.com/repos/hostilefork/rebol/subscribers","subscription_url":"https://api.github.com/repos/hostilefork/rebol/subscription","commits_url":"https://api.github.com/repos/hostilefork/rebol/commits{/sha}","git_commits_url":"https://api.github.com/repos/hostilefork/rebol/git/commits{/sha}","comments_url":"https://api.github.com/repos/hostilefork/rebol/comments{/number}","issue_comment_url":"https://api.github.com/repos/hostilefork/rebol/issues/comments{/number}","contents_url":"https://api.github.com/repos/hostilefork/rebol/contents/{+path}","compare_url":"https://api.github.com/repos/hostilefork/rebol/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hostilefork/rebol/merges","archive_url":"https://api.github.com/repos/hostilefork/rebol/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hostilefork/rebol/downloads","issues_url":"https://api.github.com/repos/hostilefork/rebol/issues{/number}","pulls_url":"https://api.github.com/repos/hostilefork/rebol/pulls{/number}","milestones_url":"https://api.github.com/repos/hostilefork/rebol/milestones{/number}","notifications_url":"https://api.github.com/repos/hostilefork/rebol/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hostilefork/rebol/labels{/name}","releases_url":"https://api.github.com/repos/hostilefork/rebol/releases{/id}","deployments_url":"https://api.github.com/repos/hostilefork/rebol/deployments","created_at":"2012-12-15T18:44:43Z","updated_at":"2016-05-26T01:04:22Z","pushed_at":"2016-11-19T07:02:50Z","git_url":"git://github.com/hostilefork/rebol.git","ssh_url":"git@github.com:hostilefork/rebol.git","clone_url":"https://github.com/hostilefork/rebol.git","svn_url":"https://github.com/hostilefork/rebol","homepage":"http://www.rebol.com/","size":50730,"stargazers_count":6,"watchers_count":6,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":0,"forks":3,"open_issues":0,"watchers":6,"default_branch":"master"}},"base":{"label":"metaeducation:master","ref":"master","sha":"9f5302b9e00bbc450358835b553ace9039726c54","user":{"login":"metaeducation","id":8308455,"avatar_url":"https://avatars.githubusercontent.com/u/8308455?v=3","gravatar_id":"","url":"https://api.github.com/users/metaeducation","html_url":"https://github.com/metaeducation","followers_url":"https://api.github.com/users/metaeducation/followers","following_url":"https://api.github.com/users/metaeducation/following{/other_user}","gists_url":"https://api.github.com/users/metaeducation/gists{/gist_id}","starred_url":"https://api.github.com/users/metaeducation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metaeducation/subscriptions","organizations_url":"https://api.github.com/users/metaeducation/orgs","repos_url":"https://api.github.com/users/metaeducation/repos","events_url":"https://api.github.com/users/metaeducation/events{/privacy}","received_events_url":"https://api.github.com/users/metaeducation/received_events","type":"Organization","site_admin":false},"repo":{"id":35589720,"name":"ren-c","full_name":"metaeducation/ren-c","owner":{"login":"metaeducation","id":8308455,"avatar_url":"https://avatars.githubusercontent.com/u/8308455?v=3","gravatar_id":"","url":"https://api.github.com/users/metaeducation","html_url":"https://github.com/metaeducation","followers_url":"https://api.github.com/users/metaeducation/followers","following_url":"https://api.github.com/users/metaeducation/following{/other_user}","gists_url":"https://api.github.com/users/metaeducation/gists{/gist_id}","starred_url":"https://api.github.com/users/metaeducation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metaeducation/subscriptions","organizations_url":"https://api.github.com/users/metaeducation/orgs","repos_url":"https://api.github.com/users/metaeducation/repos","events_url":"https://api.github.com/users/metaeducation/events{/privacy}","received_events_url":"https://api.github.com/users/metaeducation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/metaeducation/ren-c","description":"Library for embedding a Rebol interpreter into C codebases","fork":true,"url":"https://api.github.com/repos/metaeducation/ren-c","forks_url":"https://api.github.com/repos/metaeducation/ren-c/forks","keys_url":"https://api.github.com/repos/metaeducation/ren-c/keys{/key_id}","collaborators_url":"https://api.github.com/repos/metaeducation/ren-c/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/metaeducation/ren-c/teams","hooks_url":"https://api.github.com/repos/metaeducation/ren-c/hooks","issue_events_url":"https://api.github.com/repos/metaeducation/ren-c/issues/events{/number}","events_url":"https://api.github.com/repos/metaeducation/ren-c/events","assignees_url":"https://api.github.com/repos/metaeducation/ren-c/assignees{/user}","branches_url":"https://api.github.com/repos/metaeducation/ren-c/branches{/branch}","tags_url":"https://api.github.com/repos/metaeducation/ren-c/tags","blobs_url":"https://api.github.com/repos/metaeducation/ren-c/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/metaeducation/ren-c/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/metaeducation/ren-c/git/refs{/sha}","trees_url":"https://api.github.com/repos/metaeducation/ren-c/git/trees{/sha}","statuses_url":"https://api.github.com/repos/metaeducation/ren-c/statuses/{sha}","languages_url":"https://api.github.com/repos/metaeducation/ren-c/languages","stargazers_url":"https://api.github.com/repos/metaeducation/ren-c/stargazers","contributors_url":"https://api.github.com/repos/metaeducation/ren-c/contributors","subscribers_url":"https://api.github.com/repos/metaeducation/ren-c/subscribers","subscription_url":"https://api.github.com/repos/metaeducation/ren-c/subscription","commits_url":"https://api.github.com/repos/metaeducation/ren-c/commits{/sha}","git_commits_url":"https://api.github.com/repos/metaeducation/ren-c/git/commits{/sha}","comments_url":"https://api.github.com/repos/metaeducation/ren-c/comments{/number}","issue_comment_url":"https://api.github.com/repos/metaeducation/ren-c/issues/comments{/number}","contents_url":"https://api.github.com/repos/metaeducation/ren-c/contents/{+path}","compare_url":"https://api.github.com/repos/metaeducation/ren-c/compare/{base}...{head}","merges_url":"https://api.github.com/repos/metaeducation/ren-c/merges","archive_url":"https://api.github.com/repos/metaeducation/ren-c/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/metaeducation/ren-c/downloads","issues_url":"https://api.github.com/repos/metaeducation/ren-c/issues{/number}","pulls_url":"https://api.github.com/repos/metaeducation/ren-c/pulls{/number}","milestones_url":"https://api.github.com/repos/metaeducation/ren-c/milestones{/number}","notifications_url":"https://api.github.com/repos/metaeducation/ren-c/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/metaeducation/ren-c/labels{/name}","releases_url":"https://api.github.com/repos/metaeducation/ren-c/releases{/id}","deployments_url":"https://api.github.com/repos/metaeducation/ren-c/deployments","created_at":"2015-05-14T03:55:55Z","updated_at":"2016-10-23T18:25:53Z","pushed_at":"2016-11-19T07:54:15Z","git_url":"git://github.com/metaeducation/ren-c.git","ssh_url":"git@github.com:metaeducation/ren-c.git","clone_url":"https://github.com/metaeducation/ren-c.git","svn_url":"https://github.com/metaeducation/ren-c","homepage":"","size":52265,"stargazers_count":38,"watchers_count":38,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":16,"forks":13,"open_issues":16,"watchers":38,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/metaeducation/ren-c/pulls/335"},"html":{"href":"https://github.com/metaeducation/ren-c/pull/335"},"issue":{"href":"https://api.github.com/repos/metaeducation/ren-c/issues/335"},"comments":{"href":"https://api.github.com/repos/metaeducation/ren-c/issues/335/comments"},"review_comments":{"href":"https://api.github.com/repos/metaeducation/ren-c/pulls/335/comments"},"review_comment":{"href":"https://api.github.com/repos/metaeducation/ren-c/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/metaeducation/ren-c/pulls/335/commits"},"statuses":{"href":"https://api.github.com/repos/metaeducation/ren-c/statuses/bca655a4fb992c3a8f83a65223a77aec41b84861"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"hostilefork","id":20440,"avatar_url":"https://avatars.githubusercontent.com/u/20440?v=3","gravatar_id":"","url":"https://api.github.com/users/hostilefork","html_url":"https://github.com/hostilefork","followers_url":"https://api.github.com/users/hostilefork/followers","following_url":"https://api.github.com/users/hostilefork/following{/other_user}","gists_url":"https://api.github.com/users/hostilefork/gists{/gist_id}","starred_url":"https://api.github.com/users/hostilefork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hostilefork/subscriptions","organizations_url":"https://api.github.com/users/hostilefork/orgs","repos_url":"https://api.github.com/users/hostilefork/repos","events_url":"https://api.github.com/users/hostilefork/events{/privacy}","received_events_url":"https://api.github.com/users/hostilefork/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":105,"deletions":51,"changed_files":8}}
{"actor":{"display_login":"hostilefork"}}