Pratyay Dhonddhondpratyay.hashnode.dev·Mar 9, 2024A Busy Wait Loop For The Eye! [compiler Optimization Rant]for(int i = 25; i > 0; i--){ for(int j = 2147483647; j > 0; j--){ // this loop is supposed to busy wait } } I was supposed to implement scheduling and then test which scheduling was better; the one I had written (Pri...11 likes·239 readscompileroptimizationAdd a thoughtful commentNo comments yetBe the first to start the conversation.