Click here to Skip to main content
15,887,683 members
Home / Discussions / C#
   

C#

 
GeneralRe: Open and Save File dialogs Pin
Lord President4-May-08 10:33
Lord President4-May-08 10:33 
GeneralRe: Open and Save File dialogs Pin
Gareth H4-May-08 10:35
Gareth H4-May-08 10:35 
GeneralRe: Open and Save File dialogs [modified] Pin
Lord President4-May-08 10:38
Lord President4-May-08 10:38 
GeneralRe: [Message Deleted] Pin
Guffa4-May-08 21:57
Guffa4-May-08 21:57 
QuestionEmedded Scripting Languages Pin
martin_hughes4-May-08 8:19
martin_hughes4-May-08 8:19 
AnswerRe: Emedded Scripting Languages Pin
Uwe Keim4-May-08 8:35
sitebuilderUwe Keim4-May-08 8:35 
GeneralRe: Emedded Scripting Languages Pin
martin_hughes4-May-08 8:43
martin_hughes4-May-08 8:43 
Questionwork with a large amount of precalculated data Pin
chris9974-May-08 7:34
chris9974-May-08 7:34 
Hello,

As a result of my 1-st level of calculations, I'll get a 5 dimensional table of elements (each element is a structure with 4 integers inside). Those elements will be used for next level calculations (they had to be precalculated to save time for recalculating the sam values in each iteration). Length of each table dimension will be 52 ( so I'll have: myArray = new myElement[52,52,52,52,52]; )and I'll need to access the elements of it as quickly as possible by referring to table indexes for each dimension (as I have written, this will be input for next calculation and optimization is necassary)

The problem is that the table is too large:(52^5) * 2 bytes(sizeof int) * 4(ints in the structure) = 2.83274078 gigabytes, so I cannot keep it in RAM (I have only 1 gig).

I was thinking about putting the results from 1-level calculations directly to 3Gig binary file (this would save me recalculationg the array each time the programs starts), but I am not sure if seeking the proper element + harddrive delay will be quick enough solution.

Just to get the idea, I need to perform a simulation of about 1 000 000 000 000 iterations, where I'll use the values from the table (which contains a result of all combinations of cards - one card can be used 5 times)

Any ideas how can I handle this problem?
Many thanx for the help!
AnswerRe: work with a large amount of precalculated data Pin
Charith Jayasundara4-May-08 7:58
Charith Jayasundara4-May-08 7:58 
GeneralRe: work with a large amount of precalculated data Pin
chris9974-May-08 11:01
chris9974-May-08 11:01 
QuestionCasting an anonymous type Pin
belzer4-May-08 6:56
belzer4-May-08 6:56 
AnswerRe: Casting an anonymous type Pin
Guffa4-May-08 8:09
Guffa4-May-08 8:09 
GeneralRe: Casting an anonymous type Pin
belzer4-May-08 10:32
belzer4-May-08 10:32 
GeneralRe: Casting an anonymous type Pin
Roger Alsing4-May-08 18:47
Roger Alsing4-May-08 18:47 
GeneralRe: Casting an anonymous type Pin
Guffa4-May-08 21:38
Guffa4-May-08 21:38 
GeneralRe: Casting an anonymous type Pin
Roger Alsing5-May-08 6:21
Roger Alsing5-May-08 6:21 
QuestionIssue with Setup and Deployment Project Pin
paas4-May-08 6:05
paas4-May-08 6:05 
QuestionManipulate sender ip on TCPCLIENT (port forwarding application with internal packet checks) Pin
Jan Weltmeyer4-May-08 5:44
Jan Weltmeyer4-May-08 5:44 
AnswerRe: Manipulate sender ip on TCPCLIENT (port forwarding application with internal packet checks) Pin
Dave Kreskowiak4-May-08 15:47
mveDave Kreskowiak4-May-08 15:47 
GeneralRe: Manipulate sender ip on TCPCLIENT (port forwarding application with internal packet checks) Pin
Jan Weltmeyer5-May-08 2:45
Jan Weltmeyer5-May-08 2:45 
GeneralRe: Manipulate sender ip on TCPCLIENT (port forwarding application with internal packet checks) Pin
Dave Kreskowiak5-May-08 18:44
mveDave Kreskowiak5-May-08 18:44 
AnswerRe: Manipulate sender ip on TCPCLIENT (port forwarding application with internal packet checks) [modified] Pin
Peter Josefsson Sweden5-May-08 4:11
Peter Josefsson Sweden5-May-08 4:11 
GeneralRe: Manipulate sender ip on TCPCLIENT (port forwarding application with internal packet checks) Pin
Jan Weltmeyer5-May-08 8:04
Jan Weltmeyer5-May-08 8:04 
QuestionC# asyncallback Pin
AlexPizzano4-May-08 4:53
AlexPizzano4-May-08 4:53 
AnswerRe: C# asyncallback Pin
Judah Gabriel Himango4-May-08 7:40
sponsorJudah Gabriel Himango4-May-08 7: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.