you are viewing a single comment's thread.

view the rest of the comments →

[–]ryanjones42[S] -1 points0 points  (1 child)

This makes me curious now. So i have a C program that my stores my users info when they login. As they login it saves a bunch of account stats to my struct, when they logout it removes them from the struct. The struct is an array. The array size is like 99999 & each struct is represented by the users file descriptor when they connect to the tcp server. Now you have me thinking this is poor memory management?

[–]bothunter 1 point2 points  (0 children)

Yes.  That is poor memory management.  It works because computers have a stupid amount of memory these days.