The real WTF here is code that generates so many exceptions that you have to worry about the efficiency of the loop that processes them.
L
Best posts made by Lord_abletran
-
RE: Optimize code with StringBuilders
-
RE: Optimize code with StringBuilders
Personally, I just use some inline assembler to increment.
for(int i = 0; i < something;
__asm (
mov eax, i
inc eax
); ) -
RE: Optimize code with StringBuilders
Well, ideally, you'd write the whole thing in asm, and just leave the value in a register if you could.