Click here to Skip to main content
15,910,872 members
Home / Discussions / C#
   

C#

 
GeneralRe: [VERY URGENT]!! mouse position and screen resolution Pin
leppie26-Nov-05 22:52
leppie26-Nov-05 22:52 
GeneralRe: [VERY URGENT]!! mouse position and screen resolution Pin
Sam 200627-Nov-05 2:04
Sam 200627-Nov-05 2:04 
QuestionWindows User List Pin
rushed26-Nov-05 15:03
rushed26-Nov-05 15:03 
AnswerRe: Windows User List Pin
Curtis Schlak.26-Nov-05 16:02
Curtis Schlak.26-Nov-05 16:02 
QuestionHow to declare/set bool flag + button + NumericUpDown Pin
...---...26-Nov-05 14:22
...---...26-Nov-05 14:22 
AnswerRe: How to declare/set bool flag + button + NumericUpDown Pin
Curtis Schlak.26-Nov-05 14:56
Curtis Schlak.26-Nov-05 14:56 
QuestionHTTPModule and a Word Corpus Pin
brunoconde26-Nov-05 9:20
brunoconde26-Nov-05 9:20 
AnswerRe: HTTPModule and a Word Corpus Pin
Curtis Schlak.26-Nov-05 10:14
Curtis Schlak.26-Nov-05 10:14 
IDEA 1 - Object Serialization
If you have a lot of parsing going on when you read your corpus of words, you may think about loading a structure that has a serialization feature. You can load the corpus, serialize the object, and deserialize it. This should give you some performance benefit since you won't have to parse anything.

I did this for a financial analysis application. I would parse XML documents, store the information in the structures that I needed, then serialized them for use when the application restarted. It improved performance (memory usage and loading speed).

IDEA 2 - OnBeginRequestAsync
You could do the loading of your corpus in the OnBeginRequestAsync method. If needed, it would load in a separate worker thread and, when complete, could store the corpus in your static variable. While the corpus loads, any request that needed it could "wait" or inform the user that the summary feature is loading and will presently be available.

"we must lose precision to make significant statements about complex systems."
-deKorvin on uncertainty
QuestionGet position(index) of the row when find in a datatable Pin
karllo26-Nov-05 8:54
karllo26-Nov-05 8:54 
QuestionNumericUpDown + Button + PaintEvent Q2. Pin
...---...26-Nov-05 8:13
...---...26-Nov-05 8:13 
AnswerRe: NumericUpDown + Button + PaintEvent Q2. Pin
Curtis Schlak.26-Nov-05 9:36
Curtis Schlak.26-Nov-05 9:36 
QuestionConvert string to int Pin
Myglaren26-Nov-05 7:47
Myglaren26-Nov-05 7:47 
AnswerRe: Convert string to int Pin
Guffa26-Nov-05 8:44
Guffa26-Nov-05 8:44 
GeneralRe: Convert string to int Pin
Myglaren26-Nov-05 12:03
Myglaren26-Nov-05 12:03 
GeneralRe: Convert string to int Pin
Guffa27-Nov-05 0:43
Guffa27-Nov-05 0:43 
AnswerRe: Convert string to int Pin
Curtis Schlak.26-Nov-05 10:21
Curtis Schlak.26-Nov-05 10:21 
QuestionIdentify caller of a function Pin
User 665826-Nov-05 7:45
User 665826-Nov-05 7:45 
AnswerRe: Identify caller of a function Pin
Curtis Schlak.26-Nov-05 9:33
Curtis Schlak.26-Nov-05 9:33 
GeneralRe: Identify caller of a function Pin
User 665826-Nov-05 13:27
User 665826-Nov-05 13:27 
AnswerRe: Identify caller of a function Pin
leppie26-Nov-05 22:50
leppie26-Nov-05 22:50 
GeneralRe: Identify caller of a function Pin
User 665827-Nov-05 6:01
User 665827-Nov-05 6:01 
QuestionUnable to see underlined shorcuts in main menu Pin
TheBlindWatchmaker26-Nov-05 7:38
TheBlindWatchmaker26-Nov-05 7:38 
AnswerRe: Unable to see underlined shorcuts in main menu Pin
Dave Kreskowiak26-Nov-05 8:19
mveDave Kreskowiak26-Nov-05 8:19 
GeneralRe: Unable to see underlined shorcuts in main menu Pin
TheBlindWatchmaker26-Nov-05 8:32
TheBlindWatchmaker26-Nov-05 8:32 
Questionproperties vs public fields Pin
hypermegachi26-Nov-05 7:04
hypermegachi26-Nov-05 7:04 

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.