Click here to Skip to main content
15,899,475 members
Home / Discussions / C#
   

C#

 
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 
you failed to explain properly.
if you need an array, i.e. a non-sparse indexed collection then array and List are best;
if you need a dictionary, even when the key is integer but the data is sparse, then nothing beats Dictionary.
List and Dictionary are based on arrays; they offer stretchability and Dictionary also offers sparseness.
The main way to ruin their performance while gathering the data is by not ensuring a sufficient initial capacity.
All the relevant information is in the documentation.

Dead | X|
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

Prolific encyclopedia fixture proof-reader browser patron addict?
We all depend on the beast below.


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 
AnswerRe: Different way to copy a file Pin
Vikram A Punathambekar19-Apr-10 18:39
Vikram A Punathambekar19-Apr-10 18:39 
NewsOpen source Obfuscator for .Net Pin
Oguz Bastemur19-Apr-10 13:47
Oguz Bastemur19-Apr-10 13:47 
GeneralRe: Open source Obfuscator for .Net Pin
PIEBALDconsult19-Apr-10 13:52
mvePIEBALDconsult19-Apr-10 13:52 
GeneralRe: Open source Obfuscator for .Net Pin
DaveyM6919-Apr-10 14:13
professionalDaveyM6919-Apr-10 14:13 
GeneralRe: Open source Obfuscator for .Net Pin
Oguz Bastemur19-Apr-10 14:53
Oguz Bastemur19-Apr-10 14:53 
GeneralRe: Open source Obfuscator for .Net Pin
Not Active19-Apr-10 15:30
mentorNot Active19-Apr-10 15:30 
GeneralRe: Open source Obfuscator for .Net Pin
PIEBALDconsult19-Apr-10 17:05
mvePIEBALDconsult19-Apr-10 17:05 
QuestionProblems With BinaryFormatter Pin
Richard Blythe19-Apr-10 10:26
Richard Blythe19-Apr-10 10:26 
AnswerRe: Problems With BinaryFormatter Pin
Super Lloyd19-Apr-10 13:20
Super Lloyd19-Apr-10 13:20 

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.