in reply to search a large text file
I have a very large text file (~5g)
Is this a single 5GB file used over and over? Or a new 5GB file each time?
I need to search each time
How many searches do you need to do? How often? What is your target time.
I want to search for 'text2' and retrieve 2 and 3,
How long are the texts? Are they ascii or unicode?
but the sorting process takes ages
How long is "ages"?
The more clearly you explain your task, the more likely that someone will see a viable solution.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: search a large text file
by perl_lover_always (Acolyte) on Feb 08, 2011 at 13:01 UTC | |
by chrestomanci (Priest) on Feb 08, 2011 at 13:31 UTC | |
by BrowserUk (Patriarch) on Feb 08, 2011 at 13:33 UTC | |
by jethro (Monsignor) on Feb 08, 2011 at 13:34 UTC | |
by perl_lover_always (Acolyte) on Feb 08, 2011 at 14:41 UTC | |
by jethro (Monsignor) on Feb 08, 2011 at 17:34 UTC | |
by perl_lover_always (Acolyte) on Feb 10, 2011 at 09:45 UTC | |
| |
by moritz (Cardinal) on Feb 08, 2011 at 13:58 UTC | |
by perl_lover_always (Acolyte) on Feb 08, 2011 at 14:44 UTC |