View Single Post
Old 08-28-2005, 05:06 AM   #19 (permalink)
Locutus
Registered User
 
Join Date: Aug 2005
Posts: 20
Locutus is on a distinguished road
You could first parse the file into an array or vector of strings, then do all the looking up on that. Should reduce the complexity a bit, and maybe improve performance a little.
Locutus is offline   Reply With Quote