Click here to Skip to main content
15,922,325 members
Home / Discussions / C#
   

C#

 
GeneralRe: PowerShell Query Pin
Kevin McFarlane16-May-08 8:13
Kevin McFarlane16-May-08 8:13 
QuestionControl for handling a lot of Images Pin
anderslundsgard15-May-08 22:09
anderslundsgard15-May-08 22:09 
AnswerRe: Control for handling a lot of Images Pin
Christian Graus15-May-08 22:58
protectorChristian Graus15-May-08 22:58 
GeneralRe: Control for handling a lot of Images Pin
anderslundsgard15-May-08 23:44
anderslundsgard15-May-08 23:44 
QuestionFileStream object and performance concern Pin
rcollina15-May-08 21:30
rcollina15-May-08 21:30 
AnswerRe: FileStream object and performance concern Pin
ChrisKo16-May-08 7:35
ChrisKo16-May-08 7:35 
AnswerRe: FileStream object and performance concern Pin
The Nightcoder16-May-08 11:49
The Nightcoder16-May-08 11:49 
AnswerRe: FileStream object and performance concern Pin
rcollina16-May-08 21:37
rcollina16-May-08 21:37 
First, thanks for your feedback.

I realize I've been a bit too vague in my initial post; however your suggestions reflect what I initially suspected.

Let me clarify a bit. I'm currently working on a 3D game and I've created a texture loader using the producer / consumer queue pattern. Depending on the view distance and the player position, I load and unload landscape textures from hard disk. I assumed (wrongly) that loading textures from another thread would be non-blocking for the main thread; this was not the case, since upon testing I was experiencing hiccups.

In another forum I read that perhaps an asynchronous loading would generally perform better (i.e. no hiccups). Seeing as I'm bound to load many textures per loader usage, I was curious to know about the performance of FileStream objects. I know they have to be correctly disposed; I'm not sure how the loader would behave when there are many concurrent asynchronous locks - if there's such a thing.

I know some testing would pretty much answer, but I thought that having some feedback, some first-hand experience on the matter would save me some time (which is never enough!).

Thanks again for any further advice,
Rob

PS: For any of you interested, some game screenshots can be found in the Gallery section of www.darkmana.com[^]
Questionhow can i make an appointment schedulling in c# Pin
mjee15-May-08 20:53
mjee15-May-08 20:53 
QuestionRe: how can i make an appointment schedulling in c# Pin
sunspeed15-May-08 20:55
sunspeed15-May-08 20:55 
AnswerRe: how can i make an appointment schedulling in c# Pin
mjee15-May-08 21:26
mjee15-May-08 21:26 
GeneralRe: how can i make an appointment schedulling in c# Pin
Rupesh Kumar Swami15-May-08 21:45
Rupesh Kumar Swami15-May-08 21:45 
GeneralRe: how can i make an appointment schedulling in c# Pin
sunspeed15-May-08 21:47
sunspeed15-May-08 21:47 
GeneralRe: how can i make an appointment schedulling in c# Pin
Shani Natav15-May-08 22:03
Shani Natav15-May-08 22:03 
AnswerRe: how can i make an appointment schedulling in c# Pin
J4amieC15-May-08 22:24
J4amieC15-May-08 22:24 
QuestionMultithreading in streaming media Pin
B!Z15-May-08 20:31
B!Z15-May-08 20:31 
AnswerRe: Multithreading in streaming media Pin
Ray Parker16-May-08 4:31
Ray Parker16-May-08 4:31 
QuestionHelp me with Tree View and TextBox [modified] Pin
kissmevn15-May-08 19:53
kissmevn15-May-08 19:53 
AnswerRe: Help me with Tree View and TextBox Pin
sunspeed15-May-08 20:31
sunspeed15-May-08 20:31 
GeneralRe: Help me with Tree View and TextBox Pin
kissmevn15-May-08 21:24
kissmevn15-May-08 21:24 
GeneralRe: Help me with Tree View and TextBox Pin
sunspeed15-May-08 21:42
sunspeed15-May-08 21:42 
GeneralRe: Help me with Tree View and TextBox Pin
kissmevn15-May-08 21:51
kissmevn15-May-08 21:51 
QuestionLong and INT64 not big enough Pin
MumbleB15-May-08 19:23
MumbleB15-May-08 19:23 
AnswerRe: Long and INT64 not big enough Pin
Christian Graus15-May-08 19:31
protectorChristian Graus15-May-08 19:31 
GeneralRe: Long and INT64 not big enough Pin
MumbleB15-May-08 19:40
MumbleB15-May-08 19:40 

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.