unlzma and unxz should be specific binaries instead of links
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xz-utils (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Most users use only decompression tools and rarely compression tools.
I think it would lower the load time (especially cold startup) as well as the argument parsing time if the uncompression tools would be specific binaries. Moreover, it could slightly decrease the memory consumption.
For example, 'gunzip' is a specific binary which have only 2% of the size of the 'gzip' generic binary :
-----
j@dt-X64:~/tmp$ ls -l /bin/gzip /bin/gunzip
-rwxr-xr-x 1 root root 2251 févr. 9 01:26 /bin/gunzip
-rwxr-xr-x 1 root root 92720 févr. 9 01:26 /bin/gzip
j@dt-X64:~/tmp$
-----
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: xz-lzma 5.1.1alpha+
ProcVersionSign
Uname: Linux 3.2.0-23-generic x86_64
ApportVersion: 2.0.1-0ubuntu2
Architecture: amd64
Date: Sat Apr 14 10:13:58 2012
InstallationMedia: Xubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
PackageArchitec
SourcePackage: xz-utils
UpgradeStatus: No upgrade log present (probably fresh install)
Try `less $(which gunzip)`. It's a shell script that calls `gzip`.