News for hackers. Stuff that matters.
Re:Node.js 14 is over 20x faster than Python3.8 for fib(n) by d0mine on Tuesday February 09, 2021 @01:12PM (#26080716)
The numbers are small so there shouldn’t be any difference for fib(35)
Re:Node.js 14 is over 20x faster than Python3.8 for fib(n) by ralusek on Tuesday February 09, 2021 @09:27PM (#26085132)
They're fundamentally stored as and operated on in different ways. A BigInt does suddenly become a BigInt when in excess of MAX_SAFE_INTEGER, it's a BigInt even with a value of 1n.
Re:Node.js 14 is over 20x faster than Python3.8 for fib(n) by d0mine on Friday February 12, 2021 @12:08PM (#26115838)
fib(35) is much much smaller than the safe max that is the whole point of my comment