Fast compare two big TXT files in Windows.

Cancelled Posted Apr 2, 2014 Paid on delivery
Cancelled Paid on delivery

Don't bid higher than $10 - $30 it's dead simple code which can be done in 10 minutes

I believe you must use binary search to make it as quick as possible

Don't open files [login to view URL] or [login to view URL] (mentioned bellow) until you find or don't find the match

Why?

Because later you must delete one of them - it's not good programing style

I need DOS application which exit after complete the task

Input files names must be hardcoded into application, I don't want to choose files manually

I just need double click on application and get results

I need to compare very fast two big TXT files in current directory

One with name [login to view URL] and second [login to view URL] (names will be always the same so program need to load them automatically)

File [login to view URL] have about 2.000.000 words and file [login to view URL] up to 10.000.000 words

Because I have PC with 16 GB of RAM (Windows 7 x64) I believe it's smart to load this two files to RAM before we start

If program will find that any line from file [login to view URL] is the same as in file [login to view URL] then program will create TXT file named [login to view URL] with that word inside

If program don't find any matches then just create empty TXT file with the name [login to view URL]

EXAMPLE:

file [login to view URL]

------------

euuwewe

weweeq98213420330942309483223

2737632wewwewe

234232

1212234209989hjjkhk4323423

file [login to view URL]

-------------

uyiyuriw

234232

998210082

hsaksk

2387489898898799654

So in file named [login to view URL] I need

-------------------------------

234232

Of course if program find more than one matches I need that names in [login to view URL] file as well

I expect that your code will execute in LESS than 1 minute

I checked all commercially available applications and it take 10 or more minutes

It's DEAD simple task for experienced programmer but not for newbie

So if you are NOT SURE it will execute in less than minute for 2.000.000 and 10.000.000 keywords don't bid

It's [login to view URL] keywords to compare!

.NET Bitcoin C Programming C++ Programming DOS

Project ID: #5754732

About the project

8 proposals Remote project Active Apr 3, 2014

8 freelancers are bidding on average $21 for this job

usmanspeial

A proposal has not yet been provided

$25 USD in 1 day
(9 Reviews)
4.1
Beacon09

Hi, interesting project, unfortunately cannot try it right away, but I thought I should ask if you have already tried Text Pipe Pro? It's very fast for these operations. Thanks. Regards Ahsan

$34 USD in 4 days
(7 Reviews)
3.1
WebDeveloperr

This is dead simple. I'm ready to start now and I can have it done efficiently in half an hour. I've completed tasks much more complicated than this in programming contests.

$10 USD in 1 day
(1 Review)
1.4
stranac

I have a working program that does this, written in python. My computer is pretty slow, but it takes about 8s to complete for the best case(no matches), and 18s for the worst case(all lines are the same) Test data More

$15 USD in 1 day
(2 Reviews)
1.3
zenforic

Hello, I can have this to you within actually 10 minutes. I've had a few years with VB .NET , C++ etc. and this would be very simple. I made a test program once that made a 1GB txt file in under 10 seconds, so reading More

$15 USD in 1 day
(0 Reviews)
0.0
AikidoJunky

I've already written a python script that does what you've requested (I saw your earlier post, and was curious how fast it could be done in Python). Given your examples below, I'm assuming each line is one "word". More

$20 USD in 1 day
(0 Reviews)
0.0