|
|
|
|
|
by cmovq
1086 days ago
|
|
(1) If the pointers you pass to memcmp are know to the compiler, then memcmp will be treated as an intrinsic, and generally the compiler generates the optimal set of instructions for a given struct. (2) Correct. The expression is only evaluated at compile time. |
|