16 ms·
"max" seems like an odd choice. Wouldn't that start to fail at large numbers? Edit: Nevermind, max is lexicographic, not based on string length. Brain fart.
by jjnoakes 5y ago
"max" seems like an odd choice. Wouldn't that start to fail at large numbers?
Edit: Nevermind, max is lexicographic, not based on string length. Brain fart.
- D7x7w9pHnT 5y agoYes, that part is hacky. It's easy to write a short function to do the same thing explicitly but then you lose the concise charm
- rmetzler 5y agoThanks for explaining it!