http://robowiki.net/w/index.php?title=Thread:Talk:Yatagan/Source/1.2.0/reply_(13)&feed=atom&action=historyThread:Talk:Yatagan/Source/1.2.0/reply (13) - Revision history2024-03-29T13:10:05ZRevision history for this page on the wikiMediaWiki 1.34.1http://robowiki.net/w/index.php?title=Thread:Talk:Yatagan/Source/1.2.0/reply_(13)&diff=31090&oldid=prevNz.jdc: Reply to 1.2.02013-06-13T01:00:26Z<p>Reply to <a href="/wiki/Thread:Talk:Yatagan/Source/1.2.0/reply_(12)" title="Thread:Talk:Yatagan/Source/1.2.0/reply (12)">1.2.0</a></p>
<p><b>New page</b></p><div>It may be compiler dependent, I am just using standard jdk 1.6, but every time I have sized that it has been 2 bytes different.<br /><br />
1 is dconst_1, size 1 byte.<br /><br />
Any other double constant (except zero and possibly stuff that can be cast from an int constant) is<br /><br />
ldc2_w, indexbyte1, indexbyte2, size 3 bytes.<br /><br />
<br /><br />
As to which is functionally superior I am not sure, I haven't done extensive benchmarking on that variant of Yatagan movement as those extra 2 bytes were not enough for me to add anything else, so I didn't use/test it much.</div>Nz.jdc