[quote name='menyo' timestamp='1320005535' post='4878672']
[quote name='weka' timestamp='1319859875' post='4878111']
[quote name='Cornstalks' timestamp='1319684388' post='4877443']
[quote name='weka' timestamp='1319683180' post='4877440']
Honestly, don't even worry about it. The most people use per array, on average, is probably less than five hundred.
What?
[/quote]
Oh, I am sorry. I read that wrong. I thought the NUMBER of arrays.. not the size. My apologies.
[/quote]
I don't think thats making any more sense....
[/quote]
Have you ever seen anyone seen more than 1000 sets in an array? test[1000]
[/quote]
Yeah. Have you? What about loading a file into memory? Even if it's only a few kilobytes, it's still a few thousand characters. It's really easy (and not rare at all) to have arrays with lengths more than 1000.
And at any given point in time, applications will often have lots of different arrays. Depending on the application, there can be hundreds of arrays used, each with thousands of elements.
I assume by "sets" you actually mean "elements".