Created
August 24, 2015 15:29
-
-
Save stefan2904/ab265edc06a621300285 to your computer and use it in GitHub Desktop.
unroll me if you can
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import at.iaik.unrollme.PrintMe; | |
@at.iaik.unrollme.UnrollThis | |
public class SomeTest { | |
@at.iaik.unrollme.UnrollHere("inner") | |
public static void outer() { | |
for(int i = 0; i < 16; i++) { | |
inner(i); | |
} | |
} | |
@at.iaik.unrollme.UnrollMe | |
public static void inner(int cnt) { | |
System.out.println("i = " + cnt); | |
} | |
public static void a2(String[] arr) { | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SomeTest | |
{ | |
[public, static] void outer() | |
{ | |
inner(0); | |
inner(1); | |
inner(2); | |
inner(3); | |
inner(4); | |
inner(5); | |
inner(6); | |
inner(7); | |
inner(8); | |
inner(9); | |
inner(10); | |
inner(11); | |
inner(12); | |
inner(13); | |
inner(14); | |
inner(15); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment