{"action":"created","issue":{"url":"https://api.github.com/repos/dlang/dmd/issues/5855","repository_url":"https://api.github.com/repos/dlang/dmd","labels_url":"https://api.github.com/repos/dlang/dmd/issues/5855/labels{/name}","comments_url":"https://api.github.com/repos/dlang/dmd/issues/5855/comments","events_url":"https://api.github.com/repos/dlang/dmd/issues/5855/events","html_url":"https://github.com/dlang/dmd/pull/5855","id":159339087,"number":5855,"title":"PoC - do not merge: Mangle back references to avoid huge symbol names","user":{"login":"rainers","id":702284,"avatar_url":"https://avatars.githubusercontent.com/u/702284?v=3","gravatar_id":"","url":"https://api.github.com/users/rainers","html_url":"https://github.com/rainers","followers_url":"https://api.github.com/users/rainers/followers","following_url":"https://api.github.com/users/rainers/following{/other_user}","gists_url":"https://api.github.com/users/rainers/gists{/gist_id}","starred_url":"https://api.github.com/users/rainers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rainers/subscriptions","organizations_url":"https://api.github.com/users/rainers/orgs","repos_url":"https://api.github.com/users/rainers/repos","events_url":"https://api.github.com/users/rainers/events{/privacy}","received_events_url":"https://api.github.com/users/rainers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2016-06-09T06:49:07Z","updated_at":"2016-07-25T18:46:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dlang/dmd/pulls/5855","html_url":"https://github.com/dlang/dmd/pull/5855","diff_url":"https://github.com/dlang/dmd/pull/5855.diff","patch_url":"https://github.com/dlang/dmd/pull/5855.patch"},"body":"This is another implementation of a mangling scheme that uses back references for reoccuring types, symbols and identifiers. It also get's rid of an ambiguity in the existing mangling and encapsulates mangling better in dmangle.d.\r\n\r\nsee https://issues.dlang.org/show_bug.cgi?id=15831.\r\n\r\nPhobos fails to build due to a strange error, though:\r\nstd\\array.d(2665): Error: need 'this' for '_data' of type 'Data*'\r\n\r\nThe bad symbol `1.s.s.s.s.s.foo` mangles as `_D13testexpansion__T1sTS@0__T1sTS@0__T1sTS@0__T1sTS@0__T1sTiZ1sFiZ6ResultZ@1F#3Z@2Z@1F#2Z@2Z@1F#1Z@2Z@1F#0Z@23fooMFNaNfZv` with 122 characters. Please also note some extra characters due to the gratuitously long `__T` prefix.\r\n\r\nThe worse symbol `1.s.s.s.s.s.s.s.s.s.s.foo` grows to 212 characters."},"comment":{"url":"https://api.github.com/repos/dlang/dmd/issues/comments/235046615","html_url":"https://github.com/dlang/dmd/pull/5855#issuecomment-235046615","issue_url":"https://api.github.com/repos/dlang/dmd/issues/5855","id":235046615,"user":{"login":"MartinNowak","id":288976,"avatar_url":"https://avatars.githubusercontent.com/u/288976?v=3","gravatar_id":"","url":"https://api.github.com/users/MartinNowak","html_url":"https://github.com/MartinNowak","followers_url":"https://api.github.com/users/MartinNowak/followers","following_url":"https://api.github.com/users/MartinNowak/following{/other_user}","gists_url":"https://api.github.com/users/MartinNowak/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinNowak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinNowak/subscriptions","organizations_url":"https://api.github.com/users/MartinNowak/orgs","repos_url":"https://api.github.com/users/MartinNowak/repos","events_url":"https://api.github.com/users/MartinNowak/events{/privacy}","received_events_url":"https://api.github.com/users/MartinNowak/received_events","type":"User","site_admin":false},"created_at":"2016-07-25T18:46:35Z","updated_at":"2016-07-25T18:46:35Z","body":"> Seems we had the same idea.\r\n\r\nHave you guys talked about this earlier and/or did both of you work on an implementation?"}}
{"actor":{"display_login":"MartinNowak"}}