Click here to Skip to main content
15,906,816 members
Home / Discussions / C#
   

C#

 
GeneralRe: System.OutOfMemoryException when creating big array Pin
Not Active19-Apr-10 18:01
mentorNot Active19-Apr-10 18:01 
GeneralRe: System.OutOfMemoryException when creating big array Pin
Xmen Real 19-Apr-10 21:07
professional Xmen Real 19-Apr-10 21:07 
GeneralRe: System.OutOfMemoryException when creating big array Pin
Matty2219-Apr-10 20:44
Matty2219-Apr-10 20:44 
AnswerRe: System.OutOfMemoryException when creating big array Pin
Dave Kreskowiak19-Apr-10 18:34
mveDave Kreskowiak19-Apr-10 18:34 
GeneralRe: System.OutOfMemoryException when creating big array Pin
Xmen Real 19-Apr-10 21:03
professional Xmen Real 19-Apr-10 21:03 
GeneralRe: System.OutOfMemoryException when creating big array Pin
Matty2219-Apr-10 21:09
Matty2219-Apr-10 21:09 
GeneralRe: System.OutOfMemoryException when creating big array Pin
Xmen Real 19-Apr-10 21:18
professional Xmen Real 19-Apr-10 21:18 
GeneralRe: System.OutOfMemoryException when creating big array Pin
Matty2219-Apr-10 21:25
Matty2219-Apr-10 21:25 
A dictionary isn't much slower than an array for lookup values and it also gaurantees constant time lookup no matter how many entries are in the dictionary.

Besides, You were going to try a list? Lists are shitloads slower than a dictionary for lookup performance. You need to get a basic understanding of data structures;

Dictionary is pretty much your only choice.
GeneralRe: System.OutOfMemoryException when creating big array Pin
Xmen Real 19-Apr-10 21:30
professional Xmen Real 19-Apr-10 21:30 
GeneralRe: System.OutOfMemoryException when creating big array Pin
Matty2219-Apr-10 21:44
Matty2219-Apr-10 21:44 
GeneralRe: System.OutOfMemoryException when creating big array Pin
Dave Kreskowiak20-Apr-10 2:09
mveDave Kreskowiak20-Apr-10 2:09 
GeneralRe: System.OutOfMemoryException when creating big array Pin
Xmen Real 20-Apr-10 2:35
professional Xmen Real 20-Apr-10 2:35 
GeneralRe: System.OutOfMemoryException when creating big array Pin
Dave Kreskowiak20-Apr-10 16:18
mveDave Kreskowiak20-Apr-10 16:18 
GeneralRe: System.OutOfMemoryException when creating big array Pin
Xmen Real 20-Apr-10 16:40
professional Xmen Real 20-Apr-10 16:40 
GeneralRe: System.OutOfMemoryException when creating big array Pin
Dave Kreskowiak21-Apr-10 2:10
mveDave Kreskowiak21-Apr-10 2:10 
GeneralRe: System.OutOfMemoryException when creating big array Pin
Xmen Real 21-Apr-10 2:35
professional Xmen Real 21-Apr-10 2:35 
AnswerRe: System.OutOfMemoryException when creating big array Pin
Luc Pattyn20-Apr-10 1:21
sitebuilderLuc Pattyn20-Apr-10 1:21 
GeneralRe: System.OutOfMemoryException when creating big array Pin
Xmen Real 20-Apr-10 2:43
professional Xmen Real 20-Apr-10 2:43 
GeneralRe: System.OutOfMemoryException when creating big array Pin
Luc Pattyn20-Apr-10 3:35
sitebuilderLuc Pattyn20-Apr-10 3:35 
GeneralRe: System.OutOfMemoryException when creating big array Pin
Xmen Real 20-Apr-10 4:02
professional Xmen Real 20-Apr-10 4:02 
GeneralRe: System.OutOfMemoryException when creating big array Pin
Luc Pattyn20-Apr-10 4:24
sitebuilderLuc Pattyn20-Apr-10 4:24 
GeneralRe: System.OutOfMemoryException when creating big array Pin
Xmen Real 20-Apr-10 4:25
professional Xmen Real 20-Apr-10 4:25 
QuestionDifferent way to copy a file Pin
svanwass19-Apr-10 15:46
svanwass19-Apr-10 15:46 
AnswerRe: Different way to copy a file Pin
Tarakeshwar Reddy19-Apr-10 16:08
professionalTarakeshwar Reddy19-Apr-10 16:08 
AnswerRe: Different way to copy a file Pin
PIEBALDconsult19-Apr-10 17:08
mvePIEBALDconsult19-Apr-10 17:08 

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.