Miran

Results 97 comments of Miran

I did try some "small BigInt optimization", but when I benchmarked it, I haven't noticed any measurable improvements. But there's a possibility that my tests weren't great and/or my implementation...

Thanks for the contribution, but I must say I don't understand why would somebody want to have this library in some virtual online environment, where one can't use its main...

> it won't match the normal version 2.0.0 directly If you want to build exactly a released version from nightlies, in the release article for that version (e.g. https://nim-lang.org/blog/2023/08/01/nim-v20-released.html), there...

FWIW, I had the same error when I tried to update my `devel` version of Nim one month ago. It worked once I downloaded `nim` binary from nightlies, and @Araq...

I can confirm that this bug is still present. I've built the latest `nimble` via `koch nimble`: ``` $ nimble -v nimble v0.14.2 compiled at 2023-12-12 07:35:03 git hash: a1fdbe8912a0e3dfd30cef030bbabef218d84687...

Copying `packages.json` from my old nimble folder fixes the problem. But this is not something that a user should do.

Now I tried to delete the `.nimble` folder to try again. It creates `nimbledata2.json` and empty `pkgs2` subfolder, mentioned two comments above. It produces warning about missing `nimbledata2.json` and then...

> I have no clue why but I cannot reproduce this bug. Did you: 1. Remove old Nimble files? (So there is no existing `packages.json`) 2. Install Nimble via `koch...

> Error: undeclared identifier: 'bi' That's why we need https://github.com/nim-lang/bigints/blob/master/src/bigints/private/literals.nim, for example. See comment there: "It is needed as a workaround for Nim's parser for versions