[forwarded submission from a non-member address -- rjk]


From: [EMAIL PROTECTED]
Date: 31 Oct 2001 16:45:46 -0800
Subject: parser
To: [EMAIL PROTECTED]

A few tweaks and I'm now up to 650 lines per second.
(p3 at 750 mhz)

I basically had to write my own profiler,
cause I'm doing some odd stuff in the parser.

couple of questions for the performance gurus:

my parser object is a blessed hash.
I'm calling a lexer routine which 
dereferences data in the hash.
The lexer is called 50 thousand times
in my "short" verilog file.

just how much of an improvement would I see
if I convert the object over to a blessed array?
are arrays significantly faster than hashes
or just marginally faster?

I don't want to convert and find out arrays
aren't that much better than hashes.

The hash keys are fixed, so that isn't a problem.

Greg

Reply via email to