Click here to Skip to main content
15,900,110 members
Home / Discussions / C#
   

C#

 
GeneralRe: listbox population Pin
Luc Pattyn31-Oct-08 7:14
sitebuilderLuc Pattyn31-Oct-08 7:14 
Questionthreading Pin
arkiboys31-Oct-08 5:25
arkiboys31-Oct-08 5:25 
AnswerRe: threading Pin
Eddy Vluggen31-Oct-08 5:53
professionalEddy Vluggen31-Oct-08 5:53 
AnswerRe: threading Pin
Guffa31-Oct-08 6:48
Guffa31-Oct-08 6:48 
AnswerRe: threading Pin
aalex67531-Oct-08 6:50
aalex67531-Oct-08 6:50 
AnswerRe: threading Pin
Giorgi Dalakishvili31-Oct-08 8:28
mentorGiorgi Dalakishvili31-Oct-08 8:28 
GeneralRe: threading Pin
arkiboys31-Oct-08 9:31
arkiboys31-Oct-08 9:31 
GeneralRe: threading Pin
Giorgi Dalakishvili31-Oct-08 9:43
mentorGiorgi Dalakishvili31-Oct-08 9:43 
QuestionAdvice on what driver to use for multiple Webcam capture Pin
Franko197331-Oct-08 5:20
Franko197331-Oct-08 5:20 
QuestionDetecting when user has changed selection to another row (single selection item grid) Pin
kanchoette31-Oct-08 3:31
kanchoette31-Oct-08 3:31 
AnswerRe: Detecting when user has changed selection to another row (single selection item grid) Pin
Ashfield31-Oct-08 4:53
Ashfield31-Oct-08 4:53 
GeneralRe: Detecting when user has changed selection to another row (single selection item grid) Pin
led mike31-Oct-08 4:55
led mike31-Oct-08 4:55 
GeneralRe: Detecting when user has changed selection to another row (single selection item grid) Pin
Ashfield31-Oct-08 5:55
Ashfield31-Oct-08 5:55 
QuestionHow I Change Menu Css on page load Event OR Runtime Pin
IshtiaqueJ31-Oct-08 2:30
IshtiaqueJ31-Oct-08 2:30 
AnswerRe: How I Change Menu Css on page load Event OR Runtime Pin
Krazy Programmer31-Oct-08 2:53
Krazy Programmer31-Oct-08 2:53 
AnswerRe: How I Change Menu Css on page load Event OR Runtime Pin
leppie31-Oct-08 2:57
leppie31-Oct-08 2:57 
GeneralServiceController remote access, impersonation Pin
laserbaronen31-Oct-08 2:20
laserbaronen31-Oct-08 2:20 
QuestionDictionary size issue Pin
George_George31-Oct-08 2:16
George_George31-Oct-08 2:16 
AnswerRe: Dictionary size issue Pin
Luc Pattyn31-Oct-08 2:25
sitebuilderLuc Pattyn31-Oct-08 2:25 
GeneralRe: Dictionary size issue Pin
George_George31-Oct-08 2:32
George_George31-Oct-08 2:32 
GeneralRe: Dictionary size issue Pin
Luc Pattyn31-Oct-08 2:44
sitebuilderLuc Pattyn31-Oct-08 2:44 
GeneralRe: Dictionary size issue Pin
George_George31-Oct-08 3:35
George_George31-Oct-08 3:35 
GeneralRe: Dictionary size issue Pin
Luc Pattyn31-Oct-08 3:42
sitebuilderLuc Pattyn31-Oct-08 3:42 
Hi George,

I assume your data is on disk somehow. So populating a data structure
(Dictionary or anything else) first will read the data from disk; since
this overflows the physical memory, it will spill over to the page file(s),
so performance will resemble a huge file copy before anything useful will
be possible.

If you could skip the "load all data first" step, you would not incur
this penalty. The easiest way to do this, is by using a database.
The database code is smart enough to cache data, and uses available
memory in an optimal way.

Also, when the application is very simple (so you could do without
a database), then the required SQL will also be very simple. Maybe
you just need a single table, and a single SELECT line, as in
SELECT * FROM books where books.ISBN = '1234-5678-1234'

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

Fixturized forever. Confused | :confused:


GeneralRe: Dictionary size issue Pin
Alan Balkany31-Oct-08 3:53
Alan Balkany31-Oct-08 3:53 
GeneralRe: Dictionary size issue Pin
George_George31-Oct-08 3:56
George_George31-Oct-08 3:56 

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.