For some reason (related to performance measurements), I need to repeat a code segment 1000 times (1024 times would be OK too), but WITHOUT "for" or any other loop.
Obviously, I could most likely write a macro that would look something like this:
#define RUN_1000_TIMES(x) \
x \
x \
x \
...
... /* (999+1 times the same line) */
...
x \
x
... and than apply that macro to my code segment.
But is there a more elegant solution than 1000 lines long macro?