I don't know if this qualifies as a bugs.

Trying to make a binary smaller, I discovered that a few strings
appear *many* times in it.
Telling sh to `strings hhttpd | sort | uniq -c | sort -rn | head -n 30'
gives me the top 30 included below. This is something like 200K out of
the 1367996 bytes in hhttpd, which is a 15% aprox. hhttpd was built with
ghc-3.01 with lots of optimization on (that is, -O -O2-for-C -fvia-C)
That's too many `Urk's, isn't it?

-- m

---------------------------------------------------------------
This iss the output from the pipe above:

   3006 CP9CTs
   1543 9CDs
    414 Urk! in TcGenDeriv
    365 Infinity
    290 True
    290 False
    282 {Ratio.%}: zero denominator
    282 Prelude.gcd: gcd 0 0 is undefined
    282 Prelude.atan2: atan2 of origin
    282 Prelude.^: negative exponent
    282 PrelNum.lhs:94|case
    282 PrelNum.lhs:930|case
    282 PrelNum.lhs:920|(d : ds)
    282 PrelNum.lhs:894|(d : ds)
    282 PrelNum.lhs:884|case
    282 PrelNum.lhs:170|case
    282 Integral.Integer.quot{PreludeCore}: divide by 0
    282 Integral.Int.rem{PreludeCore}: divide by 0
    282 Integral.Int.quot{PreludeCore}: divide by 0
    282 Integer.index: Index out of range.
    282 500000000000000000
    282 1570796326794896619
    282 -Infinity
    207 \DEL
    207 You tried to evaluate void
    207 Prelude.Enum.Char.toEnum:out of range: 
    207 Prelude.Enum.().toEnum: argument not 0
    207 Char.intToDigit: not a digit
    207 <<void>>
    207 <<function>>
 

-----------------------------------------------------------------------
Mariano Suarez Alvarez                              The introduction of
Departamento de Matematica                       numbers as coordinates
Universidad Nacional de Rosario             [...] is an act of violence
Pellegrini 250                                                  A. Weyl
2000 Rosario - Argentina                                        
e-mail: [EMAIL PROTECTED]
-----------------------------------------------------------------------

Reply via email to