View Single Post
  #5 (permalink)  
Old 03-13-2008, 02:24 AM
cpc6128 cpc6128 is offline
Junior Member
 
Join Date: Feb 2008
Posts: 17
Default

I think the main point of linecutters post was that I could speed up the program by making the search algorithm more efficient e.g. by pre_sorting some of the data so I don't have to search the entire file every time.
However I think you also have a very good point about file access slowing things down and I agree that loading the data into memory first is sensible. I will implement both ideas, hopefully together they will make a big difference. thanks!
Reply With Quote