View Single Post
  #5 (permalink)  
Old 04-17-2009, 4:22 AM
LeonR LeonR is offline
VB.NET Forum Enthusiast
.NET Framework: .NET 3.5 (VS 2008)
 
Join Date: Nov 2006
Location: UK
Age: 26
Posts: 54
Reputation: 45
LeonR is on a distinguished programming path ahead
Default

Quote:
Originally Posted by cjard View Post
Bad idea; for a 1000 line file you might need up to 1 million comparisons, which is O^2, which is bad (slow)

Use a Dictionary

I think i'm still stuck in the old times!
Reply With Quote