Much simplified lexer
Boris 'pi' Piwinger
3.14 at logic.univie.ac.at
Wed Nov 12 15:50:25 CET 2003
David Relson wrote:
>> > 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)
I don't get it. It is really suprising to see this explode,
since I removed rules or simplified them, some character
classes slightly changed their size. If I take the last CVS
version David sent over the list and my version, I get this:
text data bss dec hex filename
42597 32 65632 108261 1a6e5 lexer_v3.cvs.o
50233 32 65632 115897 1c4b9 lexer_v3.new.o
pi
More information about the Bogofilter
mailing list