Much simplified lexer

David Relson relson at osagesoftware.com
Wed Nov 12 14:16:11 CET 2003


On Wed, 12 Nov 2003 14:02:10 +0100
Matthias Andree <matthias.andree at gmx.de> wrote:

> Boris 'pi' Piwinger <3.14 at logic.univie.ac.at> writes:
> 
> > Insprired by our discussion, Tom, I changed the lexer to be
> > more in the fashion you describe. If you want to see if it
> > works for you, it is attached.
> 
> How does "size lexer_v3.o" change?


[relson at osage src]$ ll lexer_v3.l lexer_v3.pi.1112.l
-rw-r--r--    1 relson   relson      11861 Nov 12 08:11 lexer_v3.l
-rw-rw-r--    1 relson   relson      11627 Nov 12 08:12
lexer_v3.pi.1112.l

[relson at osage src]$ size lexer_v3.o lexer_v3.pi.1112.o
   text	   data	    bss	    dec	    hex	filename
  41899	      8	     60	  41967	   a3ef	lexer_v3.o
  51610	      8	  65640	 117258	  1ca0a	lexer_v3.pi.1112.o

While the source file is slightly smaller (approx 150 bytes), the .o
file is much larger (almost 3x)




More information about the Bogofilter mailing list