Results 1 to 2 of 2

Thread: Little time save during bundled exe startup

  1. #1
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,817
    Rep Power
    10

    Little time save during bundled exe startup

    Roberto,

    not sure if I'm right here but when flag "Compress all files" is on I think also base file list is compressed while they are already compressed by UPX.
    I'm talking about all exe and dll: thinBasic.exe, thinBasicc.exe, thinCore.dll, thinVL.dll, ....
    All those files are already natively compressed so compressing them save just few bytes while slow down a bit startup operations when bundled exe is executed.

    So, in general, only user files should be compressed.
    Just an idea

    Ciao
    Eros
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  2. #2

    Re: Little time save during bundled exe startup

    Eros,

    a ThinBasic base file are natively compressed with UPX, so whichever is the status of Compress all files they aren't compressed again.
    I think that the startup overloading while Compress all files is on it's due to the payload of loading the ZLIB library.

    Ciao,
    Roberto
    http://www.thinbasic.com

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •