Hey all,

I've never done any performance tuning with LISP :)  I'm writing a program 
that reads lines from a file, chews on it, wash, rinse, repeat.

I am concerned that I am doing something very stupid here :)  My profiling
stuff all seems to indicate that my bottleneck is in I/O; a program such
as UNIX cat is able to process the same data in 1/100th of the time!  
(that tells me its not the hardware's fault)  My chewing on the line of
data, in this test, consists of encapsulating the line into a CLOS object,
calling (lambda (line) t) on each line, and then looking in a list to find
there is no response to make... over and over and over... :)

Does anyone have any pointers on how to determine that I am infact I/O 
bound?  Any pointers on how to do more efficient I/O?

Oh yeah, i'm currently using a loop with get-line to fetch the lines. :)

Thanks,
Jim

-- 
James E. Prewett                 "everything that is, that was, was not enough"
Systems Team Leader                                                505.277.8210
Designated Security Officer                [EMAIL PROTECTED] [EMAIL PROTECTED]
HPC Systems Engineer III @ [EMAIL PROTECTED]             OpenPGP key: pub  
1024D/31816D93


Reply via email to