Merge multiple files
If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
It works! I already cleared up not needed lines so the 14 million decreased to 11 million. My 8 million was already cleared up so now I have 19 million in 1 list
I'm so happy 
Since I had a lot of lists to add, there might/are some double/triple/etc entries. Anyone knows how to search for them and replace them with a blank line/just delete that whole line, besides manually?


Since I had a lot of lists to add, there might/are some double/triple/etc entries. Anyone knows how to search for them and replace them with a blank line/just delete that whole line, besides manually?
Practice makes perfect!
VIP since: 6-10-2011
VIP since: 6-10-2011
Running it now, it'll be checking 19 million lines and I am timing it, so I'll give you the results ASAP 
A big and huge thanks already!
Also, notepad++ was working ~4 hours to put the list in alphabetical order and then just crashed. Anyone got a piece of code to do that/link so I can make a program for it?

A big and huge thanks already!
Also, notepad++ was working ~4 hours to put the list in alphabetical order and then just crashed. Anyone got a piece of code to do that/link so I can make a program for it?
Practice makes perfect!
VIP since: 6-10-2011
VIP since: 6-10-2011
I'll see what I can do about that after lunch. It'll be a bit more complicated than the other two, but this is where my classes on recursive algorithms will come in handy 

'lunch' is weird to read lol, its 17:59 here (Holland) xD Have a good meal 

Practice makes perfect!
VIP since: 6-10-2011
VIP since: 6-10-2011
My PC restarted due to updates or something, will run both programs tomorrow! Thanks already! 

Practice makes perfect!
VIP since: 6-10-2011
VIP since: 6-10-2011
The program is running 14 hours now, and no sign of the 'complete' message. Lets hope it comes soon xD (I'm talking about Unify). I took a wild guess and thought that every line would be scanned to search for a duplicate version, resulting in 19.000.000^2 = 361.000.000.000.000 'checks'. Estimating that my PC does ~20.000 entries each second that would take 204 days to complete.
So I guess that I'll leave the double versions within the file xD
So I guess that I'll leave the double versions within the file xD
Practice makes perfect!
VIP since: 6-10-2011
VIP since: 6-10-2011
The processing time required to check one element gets bigger exponentially as more items are added to the array it needs to check every time.
I don't think it'll be 204 days, but expect it to take quite some time ;)
I don't think it'll be 204 days, but expect it to take quite some time ;)
Copyright Information
Copyright © Codenstuff.com 2020 - 2023