Alexey Gulev

Results 442 comments of Alexey Gulev

related https://github.com/defold/defold/issues/3526

There is `_unpack` folder in the editor (~40Mb zipped) which contains `dmengine` duplicates which we already have in `libexec` folder and libraries we have in `lib` folder. That would be...

It seems like `_unpack` folder contains unstripped executables (or `pdb` file with symbols) So, the task isn’t only about reusing of executables from another folder but making decision about keeping/removing...

I removed most of the files we don't need there

Total size of duplicate files: 2.26 MB on mac. not sure if it worth spend time optimizing it ``` 823.02 KB - ./defold-eb850dc781bf670e67142ddc90d54ea581ea5e99.jar/builtins.zip | ./defold-eb850dc781bf670e67142ddc90d54ea581ea5e99.jar/lib/builtins.zip 554.50 KB - ./defold-eb850dc781bf670e67142ddc90d54ea581ea5e99.jar/_unpack/x86_64-macos/bin/luajit-64 |...

on windows Total size of duplicate files: 10.50 MB It makes sense at least for dmengine: ``` 7.82 MB - ./defold-eb850dc781bf670e67142ddc90d54ea581ea5e99.jar/_unpack/x86_64-win32/bin/dmengine.exe | ./defold-eb850dc781bf670e67142ddc90d54ea581ea5e99.jar/libexec/x86_64-win32/dmengine.exe 904.50 KB - ./defold-eb850dc781bf670e67142ddc90d54ea581ea5e99.jar/_unpack/x86_64-win32/bin/luajit-64.exe | ./defold-eb850dc781bf670e67142ddc90d54ea581ea5e99.jar/libexec/x86_64-win32/luajit-64.exe 823.02...

on linux: Total size of duplicate files: 2.26 MB ``` 823.02 KB - ./defold-eb850dc781bf670e67142ddc90d54ea581ea5e99.jar/builtins.zip | ./defold-eb850dc781bf670e67142ddc90d54ea581ea5e99.jar/lib/builtins.zip 550.16 KB - ./defold-eb850dc781bf670e67142ddc90d54ea581ea5e99.jar/_unpack/x86_64-linux/bin/luajit-64 | ./defold-eb850dc781bf670e67142ddc90d54ea581ea5e99.jar/libexec/x86_64-linux/luajit-64 89.59 KB - ./defold-eb850dc781bf670e67142ddc90d54ea581ea5e99.jar/icons/app.iconset/[email protected] | ./defold-eb850dc781bf670e67142ddc90d54ea581ea5e99.jar/icons/app.iconset/icon_512x512.png 35.21 KB...

Script [dups.py.zip](https://github.com/user-attachments/files/17155341/dups.py.zip)

Editor should re-calculate layout only when: Margin or Borders changed, and sprite added/removed.

related https://github.com/defold/defold/issues/5919