, . "" . , , , , , , . , if.
if(row = result.next())
{
//do some setup
}
for (;row;row=result.next())
{
//do stuff
}
Another would be to make your loop as simple as possible and trust your compiler optimizer to do the βdeployβ described above. This will probably be if you set the optimization parameters high enough.
source
share