61
Bot Challenges / combat challenge
« on: May 03, 2008, 07:52:33 PM »
Changing it to size dynamically? Wouldn't that result in slowdowns as VB copies the whole array into a new section of memory?
You could do it so it resizes in increments of 100, that would reduce the overhead of resizing the array every time a new bot is born or dies, or making the array larger when needed, but not shrinking it.
You could do it so it resizes in increments of 100, that would reduce the overhead of resizing the array every time a new bot is born or dies, or making the array larger when needed, but not shrinking it.