Consider removing ERC165Storage (original) (raw)

Does it ever make sense to use this contract over ERC165 with overrides and if statements?

The API is a little simpler because it's just a call to _registerInterface. The use of storage makes it more expensive to execute supportsInterface, and also to deploy the contract. Deployment costs are not necessarily worse though, because when storage is not used it requires more bytecode, but probably not enough to match it.