Click here to Skip to main content
15,891,513 members
Home / Discussions / C#
   

C#

 
QuestionWebService uploading/processing/returning the results Pin
Dirso21-Jul-08 12:40
Dirso21-Jul-08 12:40 
QuestionSpeed Search Text File Pin
polishprogrammer21-Jul-08 11:19
polishprogrammer21-Jul-08 11:19 
AnswerRe: Speed Search Text File Pin
CPallini21-Jul-08 11:35
mveCPallini21-Jul-08 11:35 
GeneralRe: Speed Search Text File Pin
polishprogrammer21-Jul-08 11:42
polishprogrammer21-Jul-08 11:42 
GeneralRe: Speed Search Text File Pin
Luc Pattyn21-Jul-08 12:12
sitebuilderLuc Pattyn21-Jul-08 12:12 
GeneralRe: Speed Search Text File Pin
polishprogrammer21-Jul-08 12:28
polishprogrammer21-Jul-08 12:28 
AnswerRe: Speed Search Text File Pin
nelsonpaixao21-Jul-08 12:52
nelsonpaixao21-Jul-08 12:52 
AnswerRe: Speed Search Text File Pin
Alan Balkany22-Jul-08 4:01
Alan Balkany22-Jul-08 4:01 
IMHO using a database is overkill for this application. A simple hash table will do the job easier and faster than a database.

1. Create a hash table with size around 120,000 (prime numbers work best).
2. Read (key, value) pairs from the text file and insert them into the hash table.
3. While you probably can't read and process a text file that size in under a second, you can retrieve an entry from the hash table in less than a hundredth of a second.
GeneralRe: Speed Search Text File Pin
polishprogrammer23-Jul-08 8:08
polishprogrammer23-Jul-08 8:08 
Questionreseting forms Pin
shwaguy21-Jul-08 10:36
shwaguy21-Jul-08 10:36 
AnswerRe: reseting forms Pin
Pete O'Hanlon21-Jul-08 10:44
mvePete O'Hanlon21-Jul-08 10:44 
GeneralRe: reseting forms Pin
shwaguy22-Jul-08 8:59
shwaguy22-Jul-08 8:59 
AnswerRe: reseting forms Pin
Mbah Dhaim21-Jul-08 10:56
Mbah Dhaim21-Jul-08 10:56 
GeneralRe: reseting forms Pin
shwaguy22-Jul-08 9:00
shwaguy22-Jul-08 9:00 
QuestionFingerPrint readers Pin
Dirso21-Jul-08 10:09
Dirso21-Jul-08 10:09 
AnswerRe: FingerPrint readers Pin
Bert delaVega21-Jul-08 17:11
Bert delaVega21-Jul-08 17:11 
QuestionWord Processing (Office 2007) for .NET Pin
JPWheeler21-Jul-08 9:07
JPWheeler21-Jul-08 9:07 
AnswerRe: Word Processing (Office 2007) for .NET Pin
Thomas Stockwell21-Jul-08 9:31
professionalThomas Stockwell21-Jul-08 9:31 
AnswerRe: Word Processing (Office 2007) for .NET Pin
Green Fuze21-Jul-08 12:24
Green Fuze21-Jul-08 12:24 
Questionconvert the pdf file to txt file Pin
Member 226808621-Jul-08 7:38
Member 226808621-Jul-08 7:38 
AnswerRe: convert the pdf file to txt file Pin
DaveyM6921-Jul-08 8:34
professionalDaveyM6921-Jul-08 8:34 
QuestionWeb service calling business logic Pin
Gktony21-Jul-08 6:39
Gktony21-Jul-08 6:39 
AnswerRe: Web service calling business logic Pin
leppie21-Jul-08 14:49
leppie21-Jul-08 14:49 
GeneralRe: Web service calling business logic Pin
Gktony21-Jul-08 20:53
Gktony21-Jul-08 20:53 
QuestionImplementing IWebBrowser2 on WebBrowser control? Pin
Christopher Duncan21-Jul-08 6:16
Christopher Duncan21-Jul-08 6:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.