code comments please

2021-10-25 Thread kobi
k

code comments please

2021-10-25 Thread kobi
Thanks a lot, great tips!

code comments please

2021-10-25 Thread kobi
at first, I used an mmap'ed version from module memfiles. but when i tried it, I got the error that: append is not supported

code comments please

2021-10-25 Thread Araq
Why not use `fmAppend`?

code comments please

2021-10-25 Thread haxscramper
It is recommended to import all stdlib modules using `import std/` prefix, so `import streams` -> `import std/streams` an so on. `import os, sequtils, system` \- `system` should not be imported explicitly, it is already always added.

code comments please

2021-10-25 Thread kobi
yesterday I wrote a (system) tool in Nim to append binary files. I wanted an offline wikipedia (88GB zim file for kiwix); I split the parts so they can fit on a usb drive, but then didn't have the double space to combine them - so it was a good exercise. You can find the code here: