Click here to Skip to main content
15,949,686 members
Home / Discussions / C#
   

C#

 
QuestionRemoving stopwords Pin
Rizwan Rathore18-May-06 1:51
Rizwan Rathore18-May-06 1:51 
AnswerRe: Removing stopwords Pin
Robert Rohde18-May-06 2:36
Robert Rohde18-May-06 2:36 
GeneralRe: Removing stopwords Pin
Rizwan Rathore18-May-06 2:49
Rizwan Rathore18-May-06 2:49 
GeneralRe: Removing stopwords Pin
Robert Rohde18-May-06 3:00
Robert Rohde18-May-06 3:00 
GeneralRe: Removing stopwords Pin
Rizwan Rathore18-May-06 4:12
Rizwan Rathore18-May-06 4:12 
GeneralRe: Removing stopwords Pin
Robert Rohde18-May-06 4:21
Robert Rohde18-May-06 4:21 
GeneralRe: Removing stopwords Pin
Rizwan Rathore18-May-06 5:19
Rizwan Rathore18-May-06 5:19 
GeneralRe: Removing stopwords Pin
Robert Rohde18-May-06 5:52
Robert Rohde18-May-06 5:52 
To be honest I have not fully understood your code (and I currently do not have the time to invest into this). First of all you should check if it is really doing what you are expecting (probably with some small sample data).
The only thing I can advice you is to avoid using RemoveAt on the wordList. For your understanding: If you remove the first element in an ArrayList it will copy all other elements internally (which in this case means copying 9999 words).

Also you have again the problem not being able to use BinarySearch. You could try to reorganzie your data. Instead of having one big list you could have separate lists for each document. You could then sort each of those without losing the reference to their respective documents and do some BinarySearches.

I probably have some time later on. As performance tuning is fun for me you could send me the complete code by mail (along with some sample data).
Questionquestions for .NET compact Framework Pin
GDavy18-May-06 1:32
GDavy18-May-06 1:32 
Questionstatusstriplabels problem? :( Pin
cmpeng3418-May-06 1:17
cmpeng3418-May-06 1:17 
AnswerRe: statusstriplabels problem? :( Pin
Office Lineman18-May-06 6:33
Office Lineman18-May-06 6:33 
Questionhowto enable enter key active on a specific button ? Pin
cmpeng3418-May-06 1:11
cmpeng3418-May-06 1:11 
AnswerRe: howto enable enter key active on a specific button ? Pin
rah_sin18-May-06 1:35
professionalrah_sin18-May-06 1:35 
AnswerRe: howto enable enter key active on a specific button ? Pin
Rizwan Rathore18-May-06 1:57
Rizwan Rathore18-May-06 1:57 
QuestionThread.Abort() (Should I use try..catch?) Pin
Shy Agam18-May-06 1:02
Shy Agam18-May-06 1:02 
AnswerRe: Thread.Abort() (Should I use try..catch?) Pin
Robert Rohde18-May-06 1:34
Robert Rohde18-May-06 1:34 
AnswerRe: Thread.Abort() (Should I use try..catch?) Pin
Guffa18-May-06 1:36
Guffa18-May-06 1:36 
QuestionHelp needed in Reference Parameters Pin
Ashraj198218-May-06 0:42
Ashraj198218-May-06 0:42 
QuestionLaunch an application in Win CE Pin
taucher_7218-May-06 0:32
taucher_7218-May-06 0:32 
AnswerRe: Launch an application in Win CE Pin
rah_sin18-May-06 0:37
professionalrah_sin18-May-06 0:37 
GeneralRe: Launch an application in Win CE Pin
taucher_7218-May-06 1:10
taucher_7218-May-06 1:10 
AnswerRe: Launch an application in Win CE Pin
GDavy18-May-06 3:37
GDavy18-May-06 3:37 
GeneralRe: Launch an application in Win CE Pin
taucher_7218-May-06 22:04
taucher_7218-May-06 22:04 
QuestionDatabinding a string ignores DBNulls Pin
Chals17-May-06 23:59
Chals17-May-06 23:59 
QuestionHide a Form when X-button pressed Pin
anderslundsgard17-May-06 23:54
anderslundsgard17-May-06 23:54 

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.