Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Compression Comparison (WAS: Tip of the Day: "ghosting" a machine with nc and dd)



On 18/07/07, Nguyen Vu Hung <vu-hung@example.com> wrote:

In general, compression ration and compression performance are trade-off.

In general, space versus time is a trade-off in Computer Science.

This is important to know, because both from an admin and a software
engineering perspective, optimising for one or the other is one of
your most common task patterns.

An example from the admin world was just given: gzip versus bzip2.
Another was given at the start of the thread[1] that spawned this one:
nc versus ssh or nc versus nc + [bg]zip(2?).

An example from the coding world: to convert from base 10 to base 52,
do the calculation each time your function is called, or simply
construct a hash table at startup that contains mappings (for all
possible 4-byte strings if you like, or just the most commonly used
range).

Cheers,
Josh

[1] http://www.tlug.jp/ML/0707/msg00708.html


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links