Einzelnen Beitrag anzeigen

Benutzerbild von Mithrandir
Mithrandir
(CodeLib-Manager)

Registriert seit: 27. Nov 2008
Ort: Delmenhorst
2.379 Beiträge
 
#9

Re: How to: Dynamic array auto resize

  Alt 13. Jan 2010, 17:10
Zitat von nanix:
0..99999999 lets be realistic Luckie.
Bullshit.

Estimate it: On a 32bit OS it might be possible to run 65,535 processes (unsigned int). So you divide this Value by 2, and there you have.

I'm wondering why you need to "adjust" the Array. If a process is being killed, simply put the length of your array to zero and refill it.

Or would you like to do something else?
米斯蘭迪爾
"In einer Zeit universellen Betruges wird das Aussprechen der Wahrheit zu einem revolutionären Akt." -- 1984, George Orwell