{"action":"created","issue":{"url":"https://api.github.com/repos/Siorki/RegPack/issues/83","repository_url":"https://api.github.com/repos/Siorki/RegPack","labels_url":"https://api.github.com/repos/Siorki/RegPack/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/Siorki/RegPack/issues/83/comments","events_url":"https://api.github.com/repos/Siorki/RegPack/issues/83/events","html_url":"https://github.com/Siorki/RegPack/issues/83","id":362771076,"node_id":"MDU6SXNzdWUzNjI3NzEwNzY=","number":83,"title":"Don't use \"\\\" as a token if avoiding it makes the output smaller","user":{"login":"xem","id":1225909,"node_id":"MDQ6VXNlcjEyMjU5MDk=","avatar_url":"https://avatars2.githubusercontent.com/u/1225909?v=4","gravatar_id":"","url":"https://api.github.com/users/xem","html_url":"https://github.com/xem","followers_url":"https://api.github.com/users/xem/followers","following_url":"https://api.github.com/users/xem/following{/other_user}","gists_url":"https://api.github.com/users/xem/gists{/gist_id}","starred_url":"https://api.github.com/users/xem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xem/subscriptions","organizations_url":"https://api.github.com/users/xem/orgs","repos_url":"https://api.github.com/users/xem/repos","events_url":"https://api.github.com/users/xem/events{/privacy}","received_events_url":"https://api.github.com/users/xem/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Siorki","id":2333431,"node_id":"MDQ6VXNlcjIzMzM0MzE=","avatar_url":"https://avatars2.githubusercontent.com/u/2333431?v=4","gravatar_id":"","url":"https://api.github.com/users/Siorki","html_url":"https://github.com/Siorki","followers_url":"https://api.github.com/users/Siorki/followers","following_url":"https://api.github.com/users/Siorki/following{/other_user}","gists_url":"https://api.github.com/users/Siorki/gists{/gist_id}","starred_url":"https://api.github.com/users/Siorki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Siorki/subscriptions","organizations_url":"https://api.github.com/users/Siorki/orgs","repos_url":"https://api.github.com/users/Siorki/repos","events_url":"https://api.github.com/users/Siorki/events{/privacy}","received_events_url":"https://api.github.com/users/Siorki/received_events","type":"User","site_admin":false},"assignees":[{"login":"Siorki","id":2333431,"node_id":"MDQ6VXNlcjIzMzM0MzE=","avatar_url":"https://avatars2.githubusercontent.com/u/2333431?v=4","gravatar_id":"","url":"https://api.github.com/users/Siorki","html_url":"https://github.com/Siorki","followers_url":"https://api.github.com/users/Siorki/followers","following_url":"https://api.github.com/users/Siorki/following{/other_user}","gists_url":"https://api.github.com/users/Siorki/gists{/gist_id}","starred_url":"https://api.github.com/users/Siorki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Siorki/subscriptions","organizations_url":"https://api.github.com/users/Siorki/orgs","repos_url":"https://api.github.com/users/Siorki/repos","events_url":"https://api.github.com/users/Siorki/events{/privacy}","received_events_url":"https://api.github.com/users/Siorki/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-09-21T20:54:20Z","updated_at":"2018-09-24T21:08:31Z","closed_at":null,"author_association":"NONE","body":"Hello again!\r\n\r\nI tried to compress the following snippet:\r\n\r\n```\r\nfor(b.innerHTML=`<div style=transform-style:preserve-3d;position:fixed;perspective:80vh;margin:40vh+50vw><div style=transform-style:preserve-3d;position:fixed;transform:translateX(-30vh)translateZ(-30vh)rotateX(55deg)rotateZ(28deg><div id=s style=transform-style:preserve-3d;position:fixed;width:72vh;height:48vh;background:#19c;animation:a+9s><style>@keyframes a{50%{transform:rotateZ(-50deg`,m=`055000000000000552000500067760005012210500066660005012210555558855555012210000000000000012210000004400000012211111111111113112222211111122220222222211222222100000222211222222100000222211111222000000222211111222000000`,i=12;i--;)for(j=18;j--;)+m[18*i+j]&&(s.innerHTML+=`<div style=transform-style:preserve-3d;position:fixed;transform:translateY(${i*4+(m[i*18+j]==4?-15:0)}vh)translateX(${j*4}vh)translateZ(${[1,1,1,2,1,1,1,1,13][m[i*18+j]]}vh)scaleX(1.1)scaleY(${m[i*18+j]==4?5:1.1})scaleZ(${[,.5,.8,.2,.2,5,8,11,2][m[i*18+j]]}><p style=transform-style:preserve-3d;position:fixed;width:4vh;height:4vh;background:#${[`349`,`ed7`,`0a0`,`da4`][m[i*18+j]]||`ddd`};transform:translateZ(4vh><p style=transform-style:preserve-3d;position:fixed;width:4vh;height:4vh;background:#${[,`ed7`,`0a0`,`da4`][m[i*18+j]]||`ddd`};transform:rotateY(90deg)translate(-2vh)translateZ(-2vh><p style=transform-style:preserve-3d;position:fixed;width:4vh;height:4vh;background:#${[,`ed7`,`0a0`,`da4`][m[i*18+j]]||`ddd`};transform:rotateY(90deg)translate(-2vh)translateZ(2vh><p style=transform-style:preserve-3d;position:fixed;width:4vh;height:4vh;background:#${[,`fe8`,`0c0`,`da4`][m[i*18+j]]||`edd`};transform:rotateX(90deg)translateY(2vh)translateZ(-2vh>`);for(i=7;i--;)s.innerHTML+=`<div style=transform-style:preserve-3d;position:fixed;transform:translateX(${[10,26,31,2,59,54,10][i]}vh)translateY(${[-11,-6,2,-5,-5,14,14][i]}vh)translateZ(${[20.9,33,45,21,21,21,21][i]}vh)scaleX(${[2.5,1,.5,.5,.5,.3,.3][i]})scaleY(${[1.5,1,.5,.5,.5,.3,.3][i]})scaleZ(.5><p style=transform-style:preserve-3d;position:fixed;width:20vmin;height:20vmin;background:#b31;clip-path:polygon(50%+0,0+99%,99%+99%);transform:translateZ(9vmin)translateY(4.9vmin)rotateX(-60deg><p style=transform-style:preserve-3d;width:20vmin;height:20vmin;position:fixed;background:#b31;clip-path:polygon(50%+0,0+99%,99%+99%);transform:translateZ(9vh)translateX(-4.9vh)rotateY(-60deg)rotateZ(90deg><p style=transform-style:preserve-3d;width:20vmin;height:20vmin;position:fixed;background:#a31;clip-path:polygon(50%+0,0+99%,99%+99%);transform:translateZ(9vh)translateX(4.9vh)rotateY(60deg)rotateZ(-90deg>`\r\n```\r\n\r\nRegPack used \"\\\\\\\\\" (\"\\\\\" escaped) as a token, but if it hadn't used it, the output would have been lignter (984b)\r\n\r\nCould you avoid using this char as a token when it's not efficient?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/Siorki/RegPack/issues/comments/424125653","html_url":"https://github.com/Siorki/RegPack/issues/83#issuecomment-424125653","issue_url":"https://api.github.com/repos/Siorki/RegPack/issues/83","id":424125653,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDEyNTY1Mw==","user":{"login":"Siorki","id":2333431,"node_id":"MDQ6VXNlcjIzMzM0MzE=","avatar_url":"https://avatars2.githubusercontent.com/u/2333431?v=4","gravatar_id":"","url":"https://api.github.com/users/Siorki","html_url":"https://github.com/Siorki","followers_url":"https://api.github.com/users/Siorki/followers","following_url":"https://api.github.com/users/Siorki/following{/other_user}","gists_url":"https://api.github.com/users/Siorki/gists{/gist_id}","starred_url":"https://api.github.com/users/Siorki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Siorki/subscriptions","organizations_url":"https://api.github.com/users/Siorki/orgs","repos_url":"https://api.github.com/users/Siorki/repos","events_url":"https://api.github.com/users/Siorki/events{/privacy}","received_events_url":"https://api.github.com/users/Siorki/received_events","type":"User","site_admin":false},"created_at":"2018-09-24T21:08:31Z","updated_at":"2018-09-24T21:08:31Z","author_association":"OWNER","body":"Linked with #47 which introduced escaped characters as tokens, for the packer phase only (not the crusher).\r\n\r\nFirst check to perform - is the gain reassessed with the actual cost of 2 bytes ?"}}
{"actor":{"display_login":"Siorki"}}