Re: [cc65] c64 question

Date view Thread view Subject view

From: MagerValp (MagerValp_at_cling.gu.se)
Date: 2001-03-20 02:27:00


>>>>> "MM" == Mike McCarty <jmccarty_at_ssd.usa.alcatel.com> writes:

MM> At one time, we used the source for grep from the FSF here at
MM> work. One fellow had a hard time, because it would not find some
MM> records in a very large file. He could use an editor and find a
MM> few records which matched, so he knew that grep was failing. He
MM> tracked it down to one subroutine which

MM> was 5000 or so lines long had a McCabe complexity measure > 2000
MM> (20 is an upper limit of reason) had deeply nested if, switch,
MM> etc, then gotos to deeply nested if, switch, etc. labels

Niiice :) Take a peek at the procmail source though, now there's a
real beauty.

-- 
    ___          .     .  .         .       . +  .         .      o   
  _|___|_   +   .  +     .     +         .   .  Per Olofsson, konstnär
    o-o    .      .     .   o         +          MagerValp_at_cling.gu.se
     -       +            +    .     http://www.cling.gu.se/~cl3polof/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:39 CET