3 ms·
That's true for any type, not just bool right? And is equivalent of to the observation that any pure function can be replaced by a lookup table.
by gpderetta 2y ago
That's true for any type, not just bool right? And is equivalent of to the observation that any pure function can be replaced by a lookup table.
- Sharlin 2y agoSure, any function T -> U partitions T into |U| subsets. But the case where |U|=2 is special because 2^N is special in being the number of subsets of a set of size N.