Quick A: Enable more asynchrony and buffering. Boost can help.
Recently on Quora:
How can I minimize the runtime of the following loops: ... ?
int j=0; while (j <n) { int i = 0 ; while (i<m) { cout<<" ("<<i<<","<<j<<")"<<endl; i++; } j++; }
From the first answer:
... That's 16 times faster than the first version.
Add a Comment
Comments are closed.