I hacked the code to allocate the aType structure from a circular ring buffer. This small change made my app go from spending 60% of its time in malloc to about 3%.
I'm very interested in knowing what SQL statements you are running to obtain this result.
-- D. Richard Hipp -- [EMAIL PROTECTED] -- 704.948.4565