[PATCH] Compress common substrings in applet names to save space

Sam Liddicott sam at liddicott.com
Wed Apr 20 13:18:02 UTC 2016


On Wed, Apr 20, 2016 at 1:03 PM, Denys Vlasenko <vda.linux at googlemail.com>
wrote:

> On Wed, Apr 20, 2016 at 12:55 PM, Guillermo Rodriguez Garcia
> <guille.rodriguez at gmail.com> wrote:
> >>> When strings are abbreviated the new find_applet_by_name() is about
> >>> 34% slower than currently.  (All comparisons are for the default
> >>> configuration.)
> >>
> >> Crazy :D
> >
> > Is this really worth it? 34% slower may have a visible impact if applets
> are
> > executed frequently. And then there's the added complexity. All of that
> for
> > just some 500 bytes ?
>
> In busybox land, 500 bytes are not small.
>
> However, I also think that this idea is slightly too insane...
>

I wondered if I was reading an entry for the underhanded C contest.

Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20160420/f151f4a9/attachment.html>


More information about the busybox mailing list