Add zst extension to allowed file types

Level 4
Joined
Jun 30, 2023
Messages
24
Can .zst files be added to the supported file extensions for attachments?

It's a compression format that has gained a lot of traction in recent years due to blazing fast decompression speed (easy on clients) and good compression speed. Currently it's even natively supported by all major browsers, as well as 7Zip since v24.01 and WinRAR since v6.10.

In practice, it's good for compressing map packs. For a comparison, a map pack of 73 maps totaling 57.9 MB, when processed by different tools:

Code:
Tool                   | Size      | Compression Time | Decompression Time
-----------------------------------------------------------------------------
NONE                   | 57.9 MB   | N/A              | N/A
WinRAR (.rar+Normal)   | 56.8 MB   | 8 seconds        | < 2 seconds
WinRAR (.rar+Best)     | 56.8 MB   | 8 seconds        | < 2 seconds
7Zip (.7z+Ultra)       | 16.6 MB   | 9 seconds        | 3 seconds
7Zip (.zst+Ultra)      | 19.0 MB   | 3 seconds        | < 2 seconds

From the comparison, ZStandard steamrolls .rar in all aspects, and only loses minorly to .7z in compression rate (28.67% vs 32.82%), while having a notably better speed profile.

While it's not natively supported yet, I have been uploading map packs with the odd extension .tar.zst.rar, which is suboptimal to say the least.
 
Top