{"action":"created","issue":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/4870","repository_url":"https://api.github.com/repos/RIOT-OS/RIOT","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/4870/labels{/name}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/4870/comments","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/4870/events","html_url":"https://github.com/RIOT-OS/RIOT/pull/4870","id":135266658,"number":4870,"title":"ipv6_addr: optimize for size","user":{"login":"authmillenon","id":675644,"avatar_url":"https://avatars.githubusercontent.com/u/675644?v=3","gravatar_id":"","url":"https://api.github.com/users/authmillenon","html_url":"https://github.com/authmillenon","followers_url":"https://api.github.com/users/authmillenon/followers","following_url":"https://api.github.com/users/authmillenon/following{/other_user}","gists_url":"https://api.github.com/users/authmillenon/gists{/gist_id}","starred_url":"https://api.github.com/users/authmillenon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/authmillenon/subscriptions","organizations_url":"https://api.github.com/users/authmillenon/orgs","repos_url":"https://api.github.com/users/authmillenon/repos","events_url":"https://api.github.com/users/authmillenon/events{/privacy}","received_events_url":"https://api.github.com/users/authmillenon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/enhancement","name":"enhancement","color":"f17070"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/network","name":"network","color":"bfdadc"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/Ready%20for%20CI%20build","name":"Ready for CI build","color":"bfdadc"}],"state":"open","locked":false,"assignee":{"login":"cgundogan","id":739129,"avatar_url":"https://avatars.githubusercontent.com/u/739129?v=3","gravatar_id":"","url":"https://api.github.com/users/cgundogan","html_url":"https://github.com/cgundogan","followers_url":"https://api.github.com/users/cgundogan/followers","following_url":"https://api.github.com/users/cgundogan/following{/other_user}","gists_url":"https://api.github.com/users/cgundogan/gists{/gist_id}","starred_url":"https://api.github.com/users/cgundogan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgundogan/subscriptions","organizations_url":"https://api.github.com/users/cgundogan/orgs","repos_url":"https://api.github.com/users/cgundogan/repos","events_url":"https://api.github.com/users/cgundogan/events{/privacy}","received_events_url":"https://api.github.com/users/cgundogan/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/milestones/13","html_url":"https://github.com/RIOT-OS/RIOT/milestones/Release%202016.03","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/milestones/13/labels","id":1447832,"number":13,"title":"Release 2016.03","description":"The next major release.","creator":{"login":"OlegHahm","id":1590423,"avatar_url":"https://avatars.githubusercontent.com/u/1590423?v=3","gravatar_id":"","url":"https://api.github.com/users/OlegHahm","html_url":"https://github.com/OlegHahm","followers_url":"https://api.github.com/users/OlegHahm/followers","following_url":"https://api.github.com/users/OlegHahm/following{/other_user}","gists_url":"https://api.github.com/users/OlegHahm/gists{/gist_id}","starred_url":"https://api.github.com/users/OlegHahm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlegHahm/subscriptions","organizations_url":"https://api.github.com/users/OlegHahm/orgs","repos_url":"https://api.github.com/users/OlegHahm/repos","events_url":"https://api.github.com/users/OlegHahm/events{/privacy}","received_events_url":"https://api.github.com/users/OlegHahm/received_events","type":"User","site_admin":false},"open_issues":229,"closed_issues":135,"state":"open","created_at":"2015-12-07T14:56:18Z","updated_at":"2016-02-22T00:21:39Z","due_on":"2016-03-17T23:00:00Z","closed_at":null},"comments":18,"created_at":"2016-02-21T22:09:51Z","updated_at":"2016-02-22T11:31:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/4870","html_url":"https://github.com/RIOT-OS/RIOT/pull/4870","diff_url":"https://github.com/RIOT-OS/RIOT/pull/4870.diff","patch_url":"https://github.com/RIOT-OS/RIOT/pull/4870.patch"},"body":"Here is an interesting one:\r\n\r\n```\r\ntext    data    bss     dec     BOARD/BINDIRBASE\r\n\r\n56      0       0       56      arduino-due\r\n58308   224     19896   78428   master-bin\r\n58364   224     19896   78484   ipv6_addr-opt-bin\r\n\r\n-90     16      0       -74     arduino-mega2560\r\n81508   11194   13751   106453  master-bin\r\n81418   11210   13751   106379  ipv6_addr-opt-bin\r\n\r\n-1648   0       0       -1648   avsextrem\r\n87996   220     98077   186293  master-bin\r\n86348   220     98077   184645  ipv6_addr-opt-bin\r\n\r\n56      0       0       56      cc2538dk\r\n58236   220     19872   78328   master-bin\r\n58292   220     19872   78384   ipv6_addr-opt-bin\r\n\r\n48      0       0       48      ek-lm4f120xl\r\n58576   220     19872   78668   master-bin\r\n58624   220     19872   78716   ipv6_addr-opt-bin\r\n\r\n48      0       0       48      f4vi1\r\n60260   224     20008   80492   master-bin\r\n60308   224     20008   80540   ipv6_addr-opt-bin\r\n\r\n-168    0       0       -168    fox\r\n73824   220     22968   97012   master-bin\r\n73656   220     22968   96844   ipv6_addr-opt-bin\r\n\r\n64      0       0       64      frdm-k64f\r\n58280   1248    19864   79392   master-bin\r\n58344   1248    19864   79456   ipv6_addr-opt-bin\r\n\r\n-168    0       0       -168    iotlab-m3\r\n73564   220     22968   96752   master-bin\r\n73396   220     22968   96584   ipv6_addr-opt-bin\r\n\r\n56      0       0       56      limifrog-v1\r\n59448   220     20000   79668   master-bin\r\n59504   220     20000   79724   ipv6_addr-opt-bin\r\n\r\n56      0       0       56      mbed_lpc1768\r\n57912   220     19872   78004   master-bin\r\n57968   220     19872   78060   ipv6_addr-opt-bin\r\n\r\n-2284   0       0       -2284   msba2\r\n110704  220     98077   209001  master-bin\r\n108420  220     98077   206717  ipv6_addr-opt-bin\r\n\r\n48      0       0       48      msbiot\r\n60572   224     20056   80852   master-bin\r\n60620   224     20056   80900   ipv6_addr-opt-bin\r\n\r\n-144    0       0       -144    mulle\r\n76468   1284    23248   101000  master-bin\r\n76324   1284    23248   100856  ipv6_addr-opt-bin\r\n\r\n-1988   0       0       -1988   native\r\n197574  624     105560  303758  master-bin\r\n195586  624     105560  301770  ipv6_addr-opt-bin\r\n\r\n48      0       0       48      nrf52dk\r\n58032   220     19864   78116   master-bin\r\n58080   220     19864   78164   ipv6_addr-opt-bin\r\n\r\n-1336   0       0       -1336   nucleo-f091\r\n60860   220     19872   80952   master-bin\r\n59524   220     19872   79616   ipv6_addr-opt-bin\r\n\r\n48      0       0       48      nucleo-f303\r\n58448   220     19880   78548   master-bin\r\n58496   220     19880   78596   ipv6_addr-opt-bin\r\n\r\n48      0       0       48      nucleo-f401\r\n60260   224     20008   80492   master-bin\r\n60308   224     20008   80540   ipv6_addr-opt-bin\r\n\r\n56      0       0       56      nucleo-l1\r\n59332   220     19992   79544   master-bin\r\n59388   220     19992   79600   ipv6_addr-opt-bin\r\n\r\n56      0       0       56      openmote-cc2538\r\n58144   220     19872   78236   master-bin\r\n58200   220     19872   78292   ipv6_addr-opt-bin\r\n\r\n-160    0       0       -160    pba-d-01-kw2x\r\n75752   1248    23304   100304  master-bin\r\n75592   1248    23304   100144  ipv6_addr-opt-bin\r\n\r\n-1648   0       0       -1648   pttu\r\n88204   220     98077   186501  master-bin\r\n86556   220     98077   184853  ipv6_addr-opt-bin\r\n\r\n56      0       0       56      remote\r\n58820   220     19872   78912   master-bin\r\n58876   220     19872   78968   ipv6_addr-opt-bin\r\n\r\n-1336   0       0       -1336   saml21-xpro\r\n61048   220     19992   81260   master-bin\r\n59712   220     19992   79924   ipv6_addr-opt-bin\r\n\r\n-1956   0       0       -1956   samr21-xpro\r\n77960   220     22984   101164  master-bin\r\n76004   220     22984   99208   ipv6_addr-opt-bin\r\n\r\n48      0       0       48      slwstk6220a\r\n58092   220     20000   78312   master-bin\r\n58140   220     20000   78360   ipv6_addr-opt-bin\r\n\r\n48      0       0       48      stm32f3discovery\r\n58464   220     19880   78564   master-bin\r\n58512   220     19880   78612   ipv6_addr-opt-bin\r\n\r\n48      0       0       48      stm32f4discovery\r\n60504   224     20032   80760   master-bin\r\n60552   224     20032   80808   ipv6_addr-opt-bin\r\n\r\n56      0       0       56      udoo\r\n58308   224     19896   78428   master-bin\r\n58364   224     19896   78484   ipv6_addr-opt-bin\r\n```\r\n\r\nOn some boards it goes up a little on some it goes down significantly.\r\n\r\nI checked the size on `samr21-xpro` with each optimization step to make sure every step there was an optimization."},"comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments/187132682","html_url":"https://github.com/RIOT-OS/RIOT/pull/4870#issuecomment-187132682","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/4870","id":187132682,"user":{"login":"OlegHahm","id":1590423,"avatar_url":"https://avatars.githubusercontent.com/u/1590423?v=3","gravatar_id":"","url":"https://api.github.com/users/OlegHahm","html_url":"https://github.com/OlegHahm","followers_url":"https://api.github.com/users/OlegHahm/followers","following_url":"https://api.github.com/users/OlegHahm/following{/other_user}","gists_url":"https://api.github.com/users/OlegHahm/gists{/gist_id}","starred_url":"https://api.github.com/users/OlegHahm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlegHahm/subscriptions","organizations_url":"https://api.github.com/users/OlegHahm/orgs","repos_url":"https://api.github.com/users/OlegHahm/repos","events_url":"https://api.github.com/users/OlegHahm/events{/privacy}","received_events_url":"https://api.github.com/users/OlegHahm/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T11:31:18Z","updated_at":"2016-02-22T11:31:18Z","body":"Btw have you checked that this doesn't break anything?"}}