2 ms·
Uncommon to see such a linkbaitish title for a programming post. The reason truth() (from operator) is faster than bool() is that * bool() takes one optional a
by nemetroid 13y ago
Uncommon to see such a linkbaitish title for a programming post. The reason truth() (from operator) is faster than bool() is that
* bool() takes one optional and named argument, and
* truth() takes one argument.