Andreas Rumpf
Andreas Rumpf
So leave out the `#end`?
Please give a self-contained full example code snippet.
Unsigned numbers don't produce overflows. I'm not sure if range of unsigned should.
No idea but this wrapper is quite old so it's likely missing some things.
Your ``inline`` here is cute, it's not like that the calling overhead of X nano seconds makes a difference for a memory allocation plus copy operation... The real problem here...
Can this be enabled by default? What are the effects on compile-time and memory consumption when the cache hits?
The culprit is likely the line ```nim proc digit_sum*(num: BigInt): SomeInteger ``` which makes no sense really. Return `int` or `int64` instead.
But what about the Nim users who can use an editor invented after 1970 that can jump to the error so that we don't need these verbose code dumps to...
> Sorry, i'll try making it into a cleaner PR soon. I don't want the feature though, it's hacker-news-consensus bullshit: Objectively a bad UX, but nobody dares to complain about...