3 ms·
bcmp just tells you "equal" or "not equal", while memcmp tells you "lesser", "equal", or "greater". I don't really know, but I suppose it might be possible to
by veddan 7y ago
bcmp just tells you "equal" or "not equal", while memcmp tells you "lesser", "equal", or "greater".
I don't really know, but I suppose it might be possible to make bcmp faster since you have less strict requirements on the return value.