TW

Results 2664 comments of TW

note: when trying it, `pip install nuitka` (into the virtual env, do not use the debian/ubuntu package).

nuitka 0.6.7 (installed via pip): ``` (borg-env) user@development:~/w/borg/src$ python -m nuitka --standalone --include-package=borg --show-progress --full-compat borg/__main__.py ... Nuitka:INFO:Total memory usage before generating C code: 258.21 MB (270757888 bytes): Nuitka:WARNING:Unresolved '__import__'...

@kayhayen thanks for the hints! I'll try again with a future release.

A new nuitka release 0.6.8 is out since a while.

Just gave it a quick try, using the current code from 1.2-maint branch: ``` $ python -m nuitka --standalone --include-package=borg --show-progress --full-compat src/borg/__main__.py ... (translates and compiles lots of stuff)...

Hi @kayhayen ! Oh, sorry, you already said that, but I did not re-read all the comments above. ### next try ``` (borg-env) tw@mba2020 borg % python -m nuitka --standalone...

``` (borg-env) tw@mba2020 borg % ls -lh borg.exe -rwxr-xr-x 1 tw staff 46M Apr 27 18:39 borg.exe (borg-env) tw@mba2020 borg % ./borg.exe init -e none repo-nuitka (borg-env) tw@mba2020 borg %...

@RonnyPfannschmidt do you want to implement that? we could have a bounty for this.

Current implementation: ``` FileCacheEntry = namedtuple('FileCacheEntry', 'age inode size cmtime chunk_ids') age: 0 .. max_ttl, int inode: see st_ino, int 64bit? size: see st_size, int 64bit cmtime: see st_(c|m)time_ns, currently...

New implementation idea: ``` FileCache hashindex entry: age: 32bit (shared for in-band hashtable management) inode: 64bit size: 64bit cmtime: 64bit chunk_ids_start: 64bit chunk_ids_count: 64bit path_hash: 256bit (key) chunk_ids array of...