06.07.2016, 15:47
Quote:
Probably misinterpretation once again.
In the topic I was talking about using memcpy vs assiging everything manually. Memcpy is nearly 50x+ (depends on the array and size) faster than assigning values manually. Also, its more neat and readable. That performance improvement is significant especially when you have large arrays/enum arrays. It is a WIN-WIN scenario (readability + performance)! Somebody asked if using memcpy was faster than assigning an array directly and I just gave an explanation. |
Start seeing things how they really are, and don't waste your time on insignificant improvements.
This is a bit ridiculous, will you ever talk about something else or will we keep seeing "faster" on each reply you create?
Setting variables, arrays, w/e is already fast. 50,000 iterations = 1ms.