2 ms·
I think GP was saying you can do that when you expect that the general case doesn’t need to be checked but a specific case does.
by eyelidlessness 5y ago
I think GP was saying you can do that when you expect that the general case doesn’t need to be checked but a specific case does.
- masklinn 5y ago> when you expect that the general case doesn’t need to be checked but a specific case does. But surely that's almost never the case? Few programs actually desire or care for base 2 modular arithmetics, and when they do it tends to be for very specific tasks (usually cryptographic or cryptography-adjacent e.g. hashing, checksumming, ...).
- eyelidlessness 5y ago> But surely that's almost never the case? Which is why it’s not so impractical to make an occasional exception.