https://bugs.documentfoundation.org/show_bug.cgi?id=158383

            Bug ID: 158383
           Summary: program/classes : store uncompressed classes in jar
                    files for faster startup and smaller installation file
           Product: LibreOffice
           Version: 7.6.2.1 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Today, SSD disks offer low-latency access to file content and slightly higher
throughput than traditional hard disks.
The Java virtual machine would skip the "deflate" step when loading classes.
Overall class loading will be faster.

Storing uncompressed classes in jar files will also reduce the size of the
installation archives, since only one compression will be applied to a
concatenation of classes of the jar file (a larger data set for the
compression). In addition, installation archives have more efficient
compression methods than deflate (LZX in MSI archives, XZ in deb archives).

For example, with MSI archive on Windows :
1. classes are compressed with deflate into a jar file (separate compression
for each class).
2. each jar file is compressed with LZX method.

I've just done a test by rebuilding jar files with uncompressed content. To
estimate the impact on the size of the MSI archive, I built a zip file using
the LZMA method (each jar is compressed in the same data set inside the zip
file). I compared this zip file with a zip file created with the original jar
files.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to