Alogani
Alogani
Hello, Maybe this implementation ? ``` const allZeros = [48, 1632, 1776, 1984, 2406, 2534, 2662, 2790, 2918, 3046, 3174, 3302, 3430, 3558, 3664, 3792, 3872, 4160, 4240, 6112, 6160,...
#### At first, I didn't see the point of adding johnnovak's isDigit to Rune, as it is : - really simple for anyone with this case to code, if you...
I do agree with some points of tersec. Especially even the corner cases are always important and "isDigit" should not be deceptive for those corner cases. But: - I don't...
extractDigit is indeed a more useful function than isDigit ! Looking at python (yes again) "int" function: - it does restrict to base 10 - it doesn't work with weird...
It is another subject, but I prefer to avoid Option for performance sensitive task (and I'm not used to it, but it's API seems very simple !). Most tasks are...
Yes, micro benchmark doesn't tell the whole truth. The final implementation will spend more time doing the calculations that dealing with options. Yet, order of magnitudes could be concerning if...
Oh, I understand, thanks for your response 😔
Hello @Araq, You are right, handling data cyclic structures has a crucial importance. I thought of a solution that might fits ## Here is a deepCopy implementation handling cyclic data...
Hello @beef331, If I propose something for Nim, my care is not the most important. "Its design focuses on efficiency, expressiveness, and elegance (in that order of priority)." I'm no...
@ringabout Sorry, I don't know js enough ! So I won't try to implement it Does javascript already has a deepcopy feature ? https://stackoverflow.com/questions/122102/what-is-the-most-efficient-way-to-deep-clone-an-object-in-javascript