Click here to Skip to main content
16,006,845 members
Home / Discussions / C#
   

C#

 
GeneralRe: Double quotes in a string Pin
Corinna John15-Feb-04 4:19
Corinna John15-Feb-04 4:19 
GeneralRe: Double quotes in a string Pin
Heath Stewart16-Feb-04 5:37
protectorHeath Stewart16-Feb-04 5:37 
GeneralAccelerate dataset in c# Pin
mhmoud rawas14-Feb-04 22:36
mhmoud rawas14-Feb-04 22:36 
GeneralRe: Accelerate dataset in c# Pin
Mazdak15-Feb-04 1:38
Mazdak15-Feb-04 1:38 
GeneralRe: Accelerate dataset in c# Pin
mhmoud rawas15-Feb-04 1:50
mhmoud rawas15-Feb-04 1:50 
GeneralRe: Accelerate dataset in c# Pin
Colin Angus Mackay15-Feb-04 6:40
Colin Angus Mackay15-Feb-04 6:40 
GeneralRe: Accelerate dataset in c# Pin
mhmoud rawas16-Feb-04 1:14
mhmoud rawas16-Feb-04 1:14 
GeneralRe: Accelerate dataset in c# Pin
Heath Stewart16-Feb-04 5:33
protectorHeath Stewart16-Feb-04 5:33 
Does matter what it's used for, loading all of it in a DataSet loads the entire data set into memory. Speed should be your last concern.

You don't need to load all of it into memory at once. Even applications like MapPoint don't need to load the entire map (topographical, politcal, whatever) with all its information into memory. Only the view is. Games are designed no differently. Entire worlds (maps) aren't loaded into memory at once. You'd get horrible fps! Besides, your drawing routines can't draw all those rows of data simultaneously - even with SMP.

Read-in your data in chunks - only a few rows at a time. There's no way you can speed-up the look-ups or decrease memory consumption to the point where anything graphical has any decent fps with this many records.

You'd be wise to pick up a book on games programming as well (even though this might not pertain to games). The concept of world/view is what you need. Only draw the data that's visible. There are other books that cover this sort of thing, too, but you'll probably find more books out there about programming games than anything else.

 

Microsoft MVP, Visual C#
My Articles
QuestionHow to display Hindi text in application Pin
gr8tushar14-Feb-04 20:15
gr8tushar14-Feb-04 20:15 
AnswerRe: How to display Hindi text in application Pin
Mazdak14-Feb-04 21:32
Mazdak14-Feb-04 21:32 
GeneralRe: How to display Hindi text in application Pin
Anonymous15-Feb-04 5:14
Anonymous15-Feb-04 5:14 
GeneralRe: How to display Hindi text in application Pin
Mazdak15-Feb-04 5:28
Mazdak15-Feb-04 5:28 
AnswerRe: How to display Hindi text in application Pin
Heath Stewart16-Feb-04 5:28
protectorHeath Stewart16-Feb-04 5:28 
GeneralBIG MISUNDERSTANDING: DataSet in n-tier App. Pin
mih_flyer14-Feb-04 18:55
mih_flyer14-Feb-04 18:55 
GeneralRe: BIG MISUNDERSTANDING: DataSet in n-tier App. Pin
leppie14-Feb-04 19:45
leppie14-Feb-04 19:45 
GeneralRe: BIG MISUNDERSTANDING: DataSet in n-tier App. Pin
14-Feb-04 19:53
suss14-Feb-04 19:53 
GeneralRe: BIG MISUNDERSTANDING: DataSet in n-tier App. Pin
partyganger15-Feb-04 0:06
partyganger15-Feb-04 0:06 
GeneralRe: BIG MISUNDERSTANDING: DataSet in n-tier App. Pin
Heath Stewart16-Feb-04 5:22
protectorHeath Stewart16-Feb-04 5:22 
GeneralDefault Application Icon Pin
Verdant12314-Feb-04 18:40
Verdant12314-Feb-04 18:40 
GeneralRe: Default Application Icon Pin
Michael P Butler14-Feb-04 21:26
Michael P Butler14-Feb-04 21:26 
GeneralRe: Default Application Icon Pin
Verdant12314-Feb-04 21:38
Verdant12314-Feb-04 21:38 
GeneralRe: Default Application Icon Pin
Nick Parker15-Feb-04 3:55
protectorNick Parker15-Feb-04 3:55 
GeneralRe: Default Application Icon Pin
Verdant12315-Feb-04 14:01
Verdant12315-Feb-04 14:01 
GeneralString Array in C# Pin
Eric Houser14-Feb-04 15:48
Eric Houser14-Feb-04 15:48 
GeneralRe: String Array in C# Pin
Web.Liu14-Feb-04 16:17
Web.Liu14-Feb-04 16:17 

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.