When I ran my mud project I started off with a memory usage of 1,200k according to task manager. When I connected with 1,000 players it went up to 3,296k. But when I disconnected all of them it stayed at 3,296. I'm running several subtypes withint p.player and was wondering if I have the type object in type player, should i delete the type object first, thent he player, or?
When i first start off the program i dim p.player(1000)
when i create a new player i do p(ucount)=new player
and when i delete the player, say player 10 is deleting I run a for/next loop so like:
for x=10 to ucount step 1
p(x)=p(x+1)
;and then delete the last user
delete p(ucount):ucount=ucount-1
Should I do this a faster way?
When i first start off the program i dim p.player(1000)
when i create a new player i do p(ucount)=new player
and when i delete the player, say player 10 is deleting I run a for/next loop so like:
for x=10 to ucount step 1
p(x)=p(x+1)
;and then delete the last user
delete p(ucount):ucount=ucount-1
Should I do this a faster way?