1

Why did ERC165 adopt XOR among the many bitwise operators?

1
  • could you elaborate?
    – minhhn2910
    Jan 8, 2023 at 9:38

1 Answer 1

1

The reason for using the XOR operator in particular is that it allows the interface identifier to be checked in a simple and efficient manner, without the need for a loop or other complex control flow.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.