|
|
|
|
|
by delinka
3980 days ago
|
|
You still have to perform the byte-by-byte comparison and this is where TheLoneWolfling alleges the optimizations kick in and give away secrets. However, from my testing, the variations in timing are unpredictable (I get variations on compare speed on different runs of the same program with the same input) and small and would be swallowed up by variations in network latency. |
|
Something like this should work:
The reason for the CMP_TYPE #define is so that you can optimise the comparison by replacing char with uint32 or uint64.