[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH] Implement -k (keep input files) for various (de)compressors.
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2017-06-15 16:11:03
Message-ID: CAK1hOcPYdWYycXF8MOpdUeGt+2rw0DRJfLNwJDZovtxw1Wcyww () mail ! gmail ! com
[Download RAW message or body]

On Fri, Jun 2, 2017 at 3:40 PM, Ari Sundholm <ari@tuxera.com> wrote:
> This is generally useful in many contexts where the normal utilities are
> not available and compressed files are being used a lot.
>
> Bloat-o-meter:
>
> function                                             old     new   delta
> .rodata                                           158465  158527     +62
> packed_usage                                       31636 31693     +57
> bbunpack                                             780     804     +24
> gzip_main                                            288     306     +18
> lzop_main                                            101     118     +17
> bzip2_main                                           138     153     +15
> unxz_main                                             86      96     +10
> unlzma_main                                           87      97     +10
> gunzip_main                                           82      92     +10
> bunzip2_main                                          71      81     +10
> do_lzo_compress                                      432     434      +2
> ------------------------------------------------------------------------------
> (add/remove: 0/0 grow/shrink: 11/0 up/down: 235/0)            Total: 235 bytes

I implemented this by using a bit in option_mask32.

Please try current git.
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic