JargonFile/original/html/C/crunch.html
2014-03-27 18:54:56 +00:00

24 lines
3.3 KiB
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>crunch</title><link rel="stylesheet" href="../../jargon.css" type="text/css"/><meta name="generator" content="DocBook XSL Stylesheets V1.61.0"/><link rel="home" href="../index.html" title="The Jargon File"/><link rel="up" href="../C.html" title="C"/><link rel="previous" href="crumb.html" title="crumb"/><link rel="next" href="cryppie.html" title="cryppie"/></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">crunch</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="crumb.html">Prev</a> </td><th width="60%" align="center">C</th><td width="20%" align="right"> <a accesskey="n" href="cryppie.html">Next</a></td></tr></table><hr/></div><dt><a id="crunch"/><dt xmlns="" id="crunch"><b>crunch</b></dt></dt><dd><p> 1. <span class="grammar">vi.</span> To process, usually in a
time-consuming or complicated way. Connotes an essentially trivial
operation that is nonetheless painful to perform. The pain may be due to
the triviality's being embedded in a loop from 1 to 1,000,000,000.
&#8220;<span class="quote">FORTRAN programs do mostly
<a href="../N/number-crunching.html"><i class="glossterm">number-crunching</i></a>.</span>&#8221; </p></dd><dd><p> 2. <span class="grammar">vt.</span> To reduce the size of a
file by a complicated scheme that produces bit configurations completely
unrelated to the original data, such as by a Huffman code. (The file ends
up looking something like a paper document would if somebody crunched the
paper into a wad.) Since such compression usually takes more computations
than simpler methods such as run-length encoding, the term is doubly
appropriate. (This meaning is usually used in the construction <span class="firstterm">file crunch(ing)</span> to distinguish it from
<a href="../N/number-crunching.html"><i class="glossterm">number-crunching</i></a>.) See
<a href="compress.html"><i class="glossterm">compress</i></a>. </p></dd><dd><p> 3. <span class="grammar">n.</span> The character
<tt class="literal">#</tt>. Used at XEROX and CMU, among other places. See
<a href="../A/ASCII.html"><i class="glossterm">ASCII</i></a>. </p></dd><dd><p> 4. <span class="grammar">vt.</span> To squeeze program source
into a minimum-size representation that will still compile or execute. The
term came into being specifically for a famous program on the BBC micro
that crunched BASIC source in order to make it run more quickly (it was a
wholly interpretive BASIC, so the number of characters mattered).
<a href="../O/Obfuscated-C-Contest.html"><i class="glossterm">Obfuscated C Contest</i></a> entries are often crunched; see
the first example under that entry.</p></dd><div class="navfooter"><hr/><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="crumb.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="../C.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="cryppie.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">crumb </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> cryppie</td></tr></table></div></body></html>