loading...

re: Changing coding habits to be stream-friendly VIEW POST

FULL DISCUSSION
 

Is there any performance difference between the two alternatives?

 

Good question, I didn't try.

In general, I don't concern myself with micro-optimizations. In most cases, time spent in the network, or to access query the database is multiple orders of magnitude bigger than 5 CPU instructions.

code of conduct - report abuse