Comment

Comment by dwroberts

I think the Karatsuba implementation is kind of missing the point of the whole exercise by just leaning on i128’s methods. It should really be defining a big num type or doing all the work on strings etc.

It’s also going to explode if I put in a number with several thousand digits as it is unwrap()ing everywhere

parent dwroberts 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton